diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-06-28 22:52:03 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-06-28 22:52:03 +0000 |
commit | 0e327a88a4640b291ee096fb31396ed4d203f636 (patch) | |
tree | 3155260ffa37d101a4dff4a9152b5a113564c643 /cpp/src/Ice/GC.cpp | |
parent | fix noarch RPM dependencies (diff) | |
download | ice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.bz2 ice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.xz ice-0e327a88a4640b291ee096fb31396ed4d203f636.zip |
Port to Solaris 10 + fix for numerous warnings on Sun
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); } } } |