summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-10 23:32:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-10 23:32:22 +0300
commit7d9f6bd3984c423b89a9f564342cde74f378f8c9 (patch)
treeeb6288208d78752b016440556beaea98dfbe0168 /src/enums
parentb81f22b9ca68675d16fa2263b89d7dd0d179ef45 (diff)
downloadmv-7d9f6bd3984c423b89a9f564342cde74f378f8c9.tar.gz
mv-7d9f6bd3984c423b89a9f564342cde74f378f8c9.tar.bz2
mv-7d9f6bd3984c423b89a9f564342cde74f378f8c9.tar.xz
mv-7d9f6bd3984c423b89a9f564342cde74f378f8c9.zip
Fix case in new strong typed types.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/simpletypes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/enums/simpletypes.h b/src/enums/simpletypes.h
index 11b5b9a42..26851ff0d 100644
--- a/src/enums/simpletypes.h
+++ b/src/enums/simpletypes.h
@@ -31,16 +31,16 @@
False = false, \
True = true \
}; \
- const name name##_True = name::True; \
- const name name##_False = name::False
+ const name name##_true = name::True; \
+ const name name##_false = name::False
#define fromBool(val, name) \
(val) ? name::True : name::False
#else // ADVGCC
#define defBoolEnum(name) \
- const bool name##_True = true; \
- const bool name##_False = false; \
+ const bool name##_true = true; \
+ const bool name##_false = false; \
typedef bool name
#define fromBool(val, name) \
(val) ? true : false