diff options
Diffstat (limited to 'cpp/src/Ice/GC.cpp')
-rwxr-xr-x | cpp/src/Ice/GC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/GC.cpp b/cpp/src/Ice/GC.cpp index f8334d41e97..19b545ad231 100755 --- a/cpp/src/Ice/GC.cpp +++ b/cpp/src/Ice/GC.cpp @@ -218,10 +218,10 @@ IceInternal::GC::collectGarbage() for(GCObjectSet::const_iterator i = liveObjects.begin(); i != liveObjects.end(); ++i) { #ifndef NDEBUG - bool erased = + size_t erased = #endif counts.erase(*i); - assert(erased); + assert(erased != 0); } } } |