summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch/Util.cpp')
-rw-r--r--cpp/src/IcePatch/Util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IcePatch/Util.cpp b/cpp/src/IcePatch/Util.cpp
index 3efc452a0cc..a867e9ad8aa 100644
--- a/cpp/src/IcePatch/Util.cpp
+++ b/cpp/src/IcePatch/Util.cpp
@@ -934,7 +934,7 @@ IcePatch::getTotalMap(const CommunicatorPtr& communicator, const string& path)
}
void
-IcePatch::putTotalMap(const CommunicatorPtr& communicator, const string& path, const TotalMap& map)
+IcePatch::putTotalMap(const CommunicatorPtr& communicator, const string& path, const TotalMap& tot)
{
IceInternal::InstancePtr instance = IceInternal::getInstance(communicator);
IceInternal::BasicStream os(instance.get());
@@ -942,8 +942,8 @@ IcePatch::putTotalMap(const CommunicatorPtr& communicator, const string& path, c
//
// Marshal the map.
//
- os.writeSize(static_cast<Int>(map.size()));
- for(TotalMap::const_iterator p = map.begin(); p != map.end(); ++p)
+ os.writeSize(static_cast<Int>(tot.size()));
+ for(TotalMap::const_iterator p = tot.begin(); p != tot.end(); ++p)
{
os.write(p->first);
os.write(p->second);