summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-13 03:51:20 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-13 03:51:20 +0000
commite60301e1be0a0d5bb44f1efd40ff43316121d4d3 (patch)
tree93e446221d57736b5b21e4a8d800deb332a037e1 /utils
parentb8bd1c28a4feb3983eeaf907250d923cd9f89d2c (diff)
binarized cfg names improved
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@538 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'utils')
-rwxr-xr-xutils/named_enum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/named_enum.h b/utils/named_enum.h
index b459b4a9..447dff78 100755
--- a/utils/named_enum.h
+++ b/utils/named_enum.h
@@ -74,9 +74,9 @@ inline void throw_enum_error(std::string const& enumtype,std::string const& msg)
/// declare the access function and define enum values
#define DECLARE_NAMED_ENUM_T(DEF,EnumType) \
- typedef enum { \
+ enum EnumType { \
DEF(NAMED_ENUM_VALUE,EnumType) \
- } EnumType; \
+ }; \
const char *GetName(EnumType dummy); \
EnumType Get ## EnumType (const char *string); \
inline EnumType Get ## EnumType (std::string const& s) { return Get ## EnumType (s.c_str()); } \