summaryrefslogtreecommitdiff
path: root/src/gui/setupactiondata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 21:23:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 21:23:37 +0300
commit1b553860436238f44a5dd781187ea6361002fcf0 (patch)
tree34241dc8e212d69aa78c8b7642c3fefa9315cb11 /src/gui/setupactiondata.h
parentef7e7319305f040a47c483b71f2e78da7a1d6149 (diff)
downloadplus-1b553860436238f44a5dd781187ea6361002fcf0.tar.gz
plus-1b553860436238f44a5dd781187ea6361002fcf0.tar.bz2
plus-1b553860436238f44a5dd781187ea6361002fcf0.tar.xz
plus-1b553860436238f44a5dd781187ea6361002fcf0.zip
Fix compilation with old gcc and clang.
Diffstat (limited to 'src/gui/setupactiondata.h')
-rw-r--r--src/gui/setupactiondata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setupactiondata.h b/src/gui/setupactiondata.h
index b27aa5483..94a16668f 100644
--- a/src/gui/setupactiondata.h
+++ b/src/gui/setupactiondata.h
@@ -33,6 +33,7 @@
struct SetupActionData final
{
+#ifdef ADVGCC
SetupActionData(const std::string name0,
const int actionId0,
const std::string text0) :
@@ -42,6 +43,7 @@ struct SetupActionData final
{ }
A_DELETE_COPY(SetupActionData)
+#endif
std::string name;
const int actionId;