diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-04-20 22:17:17 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-04-20 22:17:17 +0000 |
commit | 6ea4f3e83660c8309f2def22eff593a73b4b87b2 (patch) | |
tree | 10dc62c3107fcfd07ad427c9898ec8f37f61408b /cpp/src/IcePatch/Util.cpp | |
parent | minor fixes (diff) | |
download | ice-6ea4f3e83660c8309f2def22eff593a73b4b87b2.tar.bz2 ice-6ea4f3e83660c8309f2def22eff593a73b4b87b2.tar.xz ice-6ea4f3e83660c8309f2def22eff593a73b4b87b2.zip |
Win32 fixes
Diffstat (limited to 'cpp/src/IcePatch/Util.cpp')
-rw-r--r-- | cpp/src/IcePatch/Util.cpp | 6 |
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); |