summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-03-28 14:12:52 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-03-28 14:12:52 +0000
commitff33ec17dfa848a3353d4b881942df2f5bf758ef (patch)
tree5ff5dac0562700b2bfa1ebdd78090197b6aa3457 /cpp
parentFixed half of bug 847: ice_newIdentiy -> ice_identity, ice_newFacet -> (diff)
downloadice-ff33ec17dfa848a3353d4b881942df2f5bf758ef.tar.bz2
ice-ff33ec17dfa848a3353d4b881942df2f5bf758ef.tar.xz
ice-ff33ec17dfa848a3353d4b881942df2f5bf758ef.zip
Fix
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;