diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 17:04:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 17:04:50 +0300 |
commit | 2a33b736dc93251bf7a72364c5f818142362a3ce (patch) | |
tree | f2739f3f5721d517149a8b00d0c88fbfe095aaea /src/enums | |
parent | 2b46f2d6d7cd732f1f4f1d9e8a15a1428166a959 (diff) | |
download | manaplus-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.gz manaplus-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.bz2 manaplus-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.xz manaplus-2a33b736dc93251bf7a72364c5f818142362a3ce.zip |
Convert Reachable enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/being/reachable.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/enums/being/reachable.h b/src/enums/being/reachable.h index 18271169d..37d14ec9a 100644 --- a/src/enums/being/reachable.h +++ b/src/enums/being/reachable.h @@ -23,14 +23,14 @@ #ifndef ENUMS_BEING_REACHABLE_H #define ENUMS_BEING_REACHABLE_H -namespace Reachable +#include "enums/simpletypes/enumdefines.h" + +enumStart(Reachable) { - enum T - { - REACH_UNKNOWN = 0, - REACH_YES = 1, - REACH_NO = 2 - }; -} // namespace Reachable + REACH_UNKNOWN = 0, + REACH_YES = 1, + REACH_NO = 2 +} +enumEnd(Reachable); #endif // ENUMS_BEING_REACHABLE_H |