diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-21 00:28:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-21 00:28:46 +0300 |
commit | c78423448941517eeae0a60e703a5dc2976aed0c (patch) | |
tree | bcbe6c9aa737daf61816d0be04bdd46e908462ca /src/net/registrationoptions.h | |
parent | 5f5a1a74a4bc1711b5501dbc0f117153e4214bcd (diff) | |
download | plus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.gz plus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.bz2 plus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.xz plus-c78423448941517eeae0a60e703a5dc2976aed0c.zip |
fix compilation without C++11 options.
Diffstat (limited to 'src/net/registrationoptions.h')
-rw-r--r-- | src/net/registrationoptions.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/net/registrationoptions.h b/src/net/registrationoptions.h index 7ab4021bb..5406ece96 100644 --- a/src/net/registrationoptions.h +++ b/src/net/registrationoptions.h @@ -25,13 +25,16 @@ namespace Net { - enum RegistrationOptions + namespace RegistrationOptions { - Unregister = 0x1, - ChangeEmail = 0x2, - SetEmailOnRegister = 0x4, - SetGenderOnRegister = 0x8 - }; + enum + { + Unregister = 0x1, + ChangeEmail = 0x2, + SetEmailOnRegister = 0x4, + SetGenderOnRegister = 0x8 + }; + } } // namespace Net #endif // NET_REGISTRATIONOPTIONS_H |