summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 17:04:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 17:04:50 +0300
commit2a33b736dc93251bf7a72364c5f818142362a3ce (patch)
treef2739f3f5721d517149a8b00d0c88fbfe095aaea /src/enums
parent2b46f2d6d7cd732f1f4f1d9e8a15a1428166a959 (diff)
downloadmv-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.gz
mv-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.bz2
mv-2a33b736dc93251bf7a72364c5f818142362a3ce.tar.xz
mv-2a33b736dc93251bf7a72364c5f818142362a3ce.zip
Convert Reachable enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/being/reachable.h16
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