summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/IceUtil/Config.h2
-rw-r--r--cpp/src/Ice/Reference.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/cpp/include/IceUtil/Config.h b/cpp/include/IceUtil/Config.h
index 2deb5d54e7e..50f5a2e2afc 100644
--- a/cpp/include/IceUtil/Config.h
+++ b/cpp/include/IceUtil/Config.h
@@ -65,7 +65,7 @@
# define ICE_DECLSPEC_IMPORT /**/
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && (_MSC_VER >= 1300)
# define ICE_DEPRECATED_API __declspec(deprecated)
#elif defined(__GNUC__)
# define ICE_DEPRECATED_API __attribute__((deprecated))
diff --git a/cpp/src/Ice/Reference.h b/cpp/src/Ice/Reference.h
index 6026ed4f47a..988cfa83bc8 100644
--- a/cpp/src/Ice/Reference.h
+++ b/cpp/src/Ice/Reference.h
@@ -53,7 +53,6 @@ public:
Ice::CommunicatorPtr getCommunicator() const;
virtual bool getSecure() const = 0;
- virtual bool getCompress() const = 0;
virtual std::string getAdapterId() const = 0;
virtual std::vector<EndpointIPtr> getEndpoints() const = 0;
virtual bool getCollocationOptimization() const = 0;