ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/BlockSnapshotManager.cpp
(Generate patch)

Comparing trunk/src/brains/BlockSnapshotManager.cpp (file contents):
Revision 351 by tim, Tue Feb 15 19:36:07 2005 UTC vs.
Revision 352 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