ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/StuntDouble.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/StuntDouble.cpp (file contents):
Revision 1234 by tim, Fri Jun 4 03:15:31 2004 UTC vs.
Revision 1253 by gezelter, Tue Jun 8 16:49:46 2004 UTC

# Line 28 | Line 28 | StuntDouble::~StuntDouble(){
28   StuntDouble::~StuntDouble(){
29    map<string, GenericData*>::iterator iter;
30  
31 <  for(iter = properties.begin(); iter != properties.end(); ){
31 >  for(iter = properties.begin(); iter != properties.end(); ++iter ){
32      delete iter->second;
33 <    iter = properties.erase(iter);
33 >    properties.erase(iter);
34    }
35      
36   }
# Line 138 | Line 138 | void StuntDouble::setVel(double vel[3]){
138   }
139  
140   void StuntDouble::setVel(double vel[3]){
141 +
142    switch (objType)
143      {
144      case OT_ATOM :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines