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

Comparing trunk/OOPSE-4/src/brains/BlockSnapshotManager.cpp (file contents):
Revision 3403 by xsun, Wed Jan 23 21:22:37 2008 UTC vs.
Revision 3404 by gezelter, Mon Jun 2 02:42:50 2008 UTC

# Line 116 | Line 116 | namespace oopse {
116      }
117    }
118  
119 +   Snapshot* BlockSnapshotManager::getSnapshot(int id) {
120 +    currentSnapshot_ = snapshots_[id];
121 +    return snapshots_[id];
122 +  }
123  
120  // virtual Snapshot* BlockSnapshotManager::getSnapshot(int id) {
121  //  currentSnapshot_ = snapshots[id];
122  //  return snapshots_[id];
123  //}
124
124    int BlockSnapshotManager::getNActiveBlocks() {
125   #ifdef __RWSTD  
126      int count = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines