[gnome-commander] src/gnome-cmd-file-list.cc: fix for -Winline
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] src/gnome-cmd-file-list.cc: fix for -Winline
- Date: Fri, 28 Apr 2017 21:40:27 +0000 (UTC)
commit b01f9c3125fba42421055acc5ba4f95b32c4157e
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date: Sun Apr 23 12:56:07 2017 +0900
src/gnome-cmd-file-list.cc: fix for -Winline
src/gnome-cmd-file-list.cc:366:8: error: inlining failed in call to 'FileFormatData::~FileFormatData()
noexcept': call is unlikely and code size would grow [-Werror=inline]
likewise
src/gnome-cmd-file-list.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 1cb7e45..56f8592 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -363,7 +363,7 @@ inline FileFormatData::FileFormatData(GnomeCmdFileList *fl, GnomeCmdFile *f, gbo
}
-inline FileFormatData::~FileFormatData()
+FileFormatData::~FileFormatData()
{
g_free (dpath);
g_free (fname);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]