summaryrefslogtreecommitdiff
path: root/cpp/include/Freeze/Map.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Freeze/Map.h')
-rw-r--r--cpp/include/Freeze/Map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/include/Freeze/Map.h b/cpp/include/Freeze/Map.h
index 73206d9ec70..07459172e07 100644
--- a/cpp/include/Freeze/Map.h
+++ b/cpp/include/Freeze/Map.h
@@ -856,7 +856,7 @@ public:
// equality is not necessarily correct in the context of a
// transaction.
//
- if(count() != rhs.count())
+ if(size() != rhs.size())
{
return false;
}
@@ -1144,7 +1144,7 @@ public:
const Ice::CommunicatorPtr&
communicator() const
{
- return _communicator();
+ return _communicator;
}
protected:
@@ -1155,7 +1155,7 @@ protected:
}
std::auto_ptr<MapHelper> _helper;
- const Ice::CommunicatorPtr _communicator;
+ Ice::CommunicatorPtr _communicator;
};