ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/brains/BlockSnapshotManager.cpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/brains/BlockSnapshotManager.cpp (file contents):
Revision 2035 by tim, Tue Feb 15 19:36:07 2005 UTC vs.
Revision 2036 by tim, Tue Feb 15 19:39:56 2005 UTC

# Line 178 | Line 178 | bool BlockSnapshotManager::hasZeroRefBlock(){
178   }
179  
180   bool BlockSnapshotManager::hasZeroRefBlock(){
181 <    return std::find(activeRefCount_.begin(), activeRefCount_.end(), 0);
181 >    return std::find(activeRefCount_.begin(), activeRefCount_.end(), 0) != activeRefCount_.end() ?  true : false;
182   }
183  
184   int BlockSnapshotManager::getFirstZeroRefBlock(){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines