diff options
Diffstat (limited to 'cpp/src/iceserviceinstall/ServiceInstaller.h')
-rw-r--r-- | cpp/src/iceserviceinstall/ServiceInstaller.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/src/iceserviceinstall/ServiceInstaller.h b/cpp/src/iceserviceinstall/ServiceInstaller.h index 3c852931e9e..8efa7d3287e 100644 --- a/cpp/src/iceserviceinstall/ServiceInstaller.h +++ b/cpp/src/iceserviceinstall/ServiceInstaller.h @@ -15,20 +15,11 @@ class IceServiceInstaller { public: - -#if defined(_MSC_VER) && _MSC_VER < 1300 - enum { - icegridregistry = 0, - icegridnode = 1, - glacier2router = 2, - serviceCount = 3 - }; -#else + static const int icegridregistry = 0; static const int icegridnode = 1; static const int glacier2router = 2; static const int serviceCount = 3; -#endif IceServiceInstaller(int, const std::string&, const Ice::CommunicatorPtr&); |