From c78423448941517eeae0a60e703a5dc2976aed0c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 May 2014 00:28:46 +0300 Subject: fix compilation without C++11 options. --- src/net/registrationoptions.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/net/registrationoptions.h') 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 -- cgit v1.2.3-70-g09d2