summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r--cpp/src/Ice/Object.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp
index a0ec4de0eef..82a527f4e5c 100644
--- a/cpp/src/Ice/Object.cpp
+++ b/cpp/src/Ice/Object.cpp
@@ -34,6 +34,24 @@ Ice::Object::Object() :
}
bool
+Ice::Object::operator==(const Object& r) const
+{
+ return this == &r;
+}
+
+bool
+Ice::Object::operator<(const Object& r) const
+{
+ return this < &r;
+}
+
+Int
+Ice::Object::_hash() const
+{
+ return reinterpret_cast<Int>(this);
+}
+
+bool
Ice::Object::_isA(const string& s)
{
return s == "::Ice::Object";