summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/LocalObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/LocalObject.h')
-rw-r--r--cpp/include/Ice/LocalObject.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/include/Ice/LocalObject.h b/cpp/include/Ice/LocalObject.h
index 9fcd48e5715..3a19b322085 100644
--- a/cpp/include/Ice/LocalObject.h
+++ b/cpp/include/Ice/LocalObject.h
@@ -29,7 +29,12 @@ public:
virtual bool operator==(const LocalObject&) const;
virtual bool operator<(const LocalObject&) const;
- virtual ::Ice::Int ice_hash() const;
+ virtual ::Ice::Int ice_getHash() const;
+
+ ICE_DEPRECATED_API ::Ice::Int ice_hash() const
+ {
+ return ice_getHash();
+ }
};
}