# | Line 37 | Line 37 | bool SimSnapshotManager::advance() { | |
---|---|---|
37 | bool SimSnapshotManager::advance() { | |
38 | ||
39 | *previousSnapshot_ = *currentSnapshot_; | |
40 | + | currentSnapshot_->setID(currentSnapshot_->getID() + 1); |
41 | } | |
42 | ||
43 | Snapshot* SimSnapshotManager::getSnapshot(int id) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |