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

Comparing trunk/OOPSE/libmdtools/StuntDouble.hpp (file contents):
Revision 1233 by chrisfen, Sat May 22 18:16:18 2004 UTC vs.
Revision 1234 by tim, Fri Jun 4 03:15:31 2004 UTC

# Line 13 | Line 13 | class StuntDouble {
13  
14   class StuntDouble {
15   public:
16 +  virtual ~StuntDouble();
17    
18    int getObjType();
19    
# Line 81 | Line 82 | class StuntDouble {
82    
83   protected:
84    StuntDouble(){}
85 +
86 +  //prevent default copy constructor copy information from properties which will cause problem
87 +  StuntDouble(const StuntDouble& sd){
88 +    objType = sd.objType;
89 +  }
90 +  
91    int objType;
92  
93    map<string, GenericData*> properties;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines