diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 21:23:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 21:23:37 +0300 |
commit | 1b553860436238f44a5dd781187ea6361002fcf0 (patch) | |
tree | 34241dc8e212d69aa78c8b7642c3fefa9315cb11 /src/resources/db/itemdb.cpp | |
parent | ef7e7319305f040a47c483b71f2e78da7a1d6149 (diff) | |
download | mv-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/db/itemdb.cpp')
-rw-r--r-- | src/resources/db/itemdb.cpp | 10 |
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; |