# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |