diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:34 +0300 |
commit | dc569bbcb4c12a5a400f9e5701e5c1027badadae (patch) | |
tree | 9b502cafda345e7fb4b0342de97c77822544d9fd /src/resources/db/itemdb.cpp | |
parent | 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (diff) | |
download | manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.gz manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.bz2 manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.xz manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.zip |
Fix code style in resources.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r-- | src/resources/db/itemdb.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 09a5ce08f..939568f29 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -67,6 +67,24 @@ namespace { struct FieldType { +/* + FieldType() : + name(nullptr), + description(nullptr), + sign(false) + { } +*/ + + FieldType(const char *const name0, + const char *const description0, + const bool sign0) : + name(name0), + description(description0), + sign(sign0) + { } + + A_DELETE_COPY(FieldType) + const char *name; const char *description; const bool sign; |