summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
parentef7e7319305f040a47c483b71f2e78da7a1d6149 (diff)
downloadmv-1b553860436238f44a5dd781187ea6361002fcf0.tar.gz
mv-1b553860436238f44a5dd781187ea6361002fcf0.tar.bz2
mv-1b553860436238f44a5dd781187ea6361002fcf0.tar.xz
mv-1b553860436238f44a5dd781187ea6361002fcf0.zip
Fix compilation with old gcc and clang.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/itemdb.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 939568f29..7d61fedbf 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -67,14 +67,7 @@ namespace
{
struct FieldType
{
-/*
- FieldType() :
- name(nullptr),
- description(nullptr),
- sign(false)
- { }
-*/
-
+#ifdef ADVGCC
FieldType(const char *const name0,
const char *const description0,
const bool sign0) :
@@ -84,6 +77,7 @@ namespace
{ }
A_DELETE_COPY(FieldType)
+#endif
const char *name;
const char *description;