[gnome-commander] src/gnome-cmd-user-actions.cc: fix for -Winline
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] src/gnome-cmd-user-actions.cc: fix for -Winline
- Date: Fri, 28 Apr 2017 21:44:04 +0000 (UTC)
commit 6a35ea970173d174060d563991bacda90fef646b
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date: Tue Apr 25 12:41:36 2017 +0900
src/gnome-cmd-user-actions.cc: fix for -Winline
src/gnome-cmd-user-actions.cc:692:13: error: inlining failed in call to 'void
get_file_list(std::__cxx11::string&, GList*, F) [with F = char* (*)(GnomeCmdFile*)]': --param
inline-unit-growth limit reached [-Werror=inline]
src/gnome-cmd-user-actions.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index d7cf924..3c97185 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -689,7 +689,7 @@ GtkTreeModel *gnome_cmd_user_actions_create_model ()
template <typename F>
-inline void get_file_list (string &s, GList *sfl, F f)
+static void get_file_list (string &s, GList *sfl, F f)
{
vector<string> a;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]