summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/SessionI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-04-27 16:17:22 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-04-27 16:17:22 +0000
commit4d212bf5e7fad3af4cf3733c5316991d6cbb6f9b (patch)
tree64264ae404d38d16ef0cd161aeedd1f8d6a51104 /cpp/src/IceGrid/SessionI.cpp
parentMore work on allocation (diff)
downloadice-4d212bf5e7fad3af4cf3733c5316991d6cbb6f9b.tar.bz2
ice-4d212bf5e7fad3af4cf3733c5316991d6cbb6f9b.tar.xz
ice-4d212bf5e7fad3af4cf3733c5316991d6cbb6f9b.zip
Win32 fixes
Diffstat (limited to 'cpp/src/IceGrid/SessionI.cpp')
-rw-r--r--cpp/src/IceGrid/SessionI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/SessionI.cpp b/cpp/src/IceGrid/SessionI.cpp
index effd48d2202..34af6687ca9 100644
--- a/cpp/src/IceGrid/SessionI.cpp
+++ b/cpp/src/IceGrid/SessionI.cpp
@@ -209,13 +209,13 @@ SessionI::destroy(const Ice::Current& current)
{
(*p)->cancel(AllocationException("session destroyed"));
}
- for(set<AllocatablePtr>::const_iterator p = allocations.begin(); p != allocations.end(); ++p)
+ for(set<AllocatablePtr>::const_iterator q = allocations.begin(); q != allocations.end(); ++q)
{
try
{
- (*p)->release(this);
+ (*q)->release(this);
}
- catch(const AllocationException& ex)
+ catch(const AllocationException&)
{
assert(false);
}