summaryrefslogtreecommitdiff
path: root/src/net/registrationoptions.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-21 00:28:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-21 00:28:46 +0300
commitc78423448941517eeae0a60e703a5dc2976aed0c (patch)
treebcbe6c9aa737daf61816d0be04bdd46e908462ca /src/net/registrationoptions.h
parent5f5a1a74a4bc1711b5501dbc0f117153e4214bcd (diff)
downloadplus-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.h15
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