From 1b553860436238f44a5dd781187ea6361002fcf0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 21:23:37 +0300 Subject: Fix compilation with old gcc and clang. --- src/resources/db/itemdb.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/resources/db/itemdb.cpp') 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; -- cgit v1.2.3-70-g09d2