diff options
-rw-r--r-- | cpp/src/Ice/Initialize.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/cpp/src/Ice/Initialize.cpp b/cpp/src/Ice/Initialize.cpp index e0d690ffa2b..a246214986c 100644 --- a/cpp/src/Ice/Initialize.cpp +++ b/cpp/src/Ice/Initialize.cpp @@ -154,18 +154,7 @@ Ice::initializeWithProperties(int& argc, char* argv[], const PropertiesPtr& prop // // Major and minor version numbers must match. // - // - // Major and minor version numbers must match. - // - if(version != ICE_INT_VERSION) - // - // The caller's patch level cannot be greater than library's patch level. (Patch level changes are - // backward-compatible, but not forward-compatible.) - // - if(version % 100 > ICE_INT_VERSION % 100) - { - throw VersionMismatchException(__FILE__, __LINE__); - } + if(ICE_INT_VERSION / 100 != version / 100) { throw VersionMismatchException(__FILE__, __LINE__); } |