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

Comparing trunk/OOPSE-2.0/src/brains/SimInfo.cpp (file contents):
Revision 2012 by tim, Sun Feb 13 20:36:24 2005 UTC vs.
Revision 2015 by tim, Sun Feb 13 21:18:27 2005 UTC

# Line 835 | Line 835 | void SimInfo::setSnapshotManager(SnapshotManager* sman
835   }
836  
837   void SimInfo::setSnapshotManager(SnapshotManager* sman) {
838 +    if (sman_ == sman_) {
839 +        return;
840 +    }
841 +    
842 +    delete sman_;
843      sman_ = sman;
844  
845      Molecule* mol;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines