Changeset 2344 for code/branches/objecthierarchy2/src/core/XMLPort.h
- Timestamp:
- Dec 4, 2008, 8:28:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/core/XMLPort.h
r2173 r2344 43 43 #include "CorePrereqs.h" 44 44 45 #include <cassert> 45 46 #include "util/Debug.h" 46 47 #include "util/Exception.h" … … 327 328 this->loadexecutor_ = loadexecutor; 328 329 this->saveexecutor_ = saveexecutor; 330 } 331 332 ~XMLPortClassParamContainer() 333 { 334 assert(this->loadexecutor_); 335 delete this->loadexecutor_; 336 if (this->saveexecutor_) 337 delete this->saveexecutor_; 329 338 } 330 339 … … 471 480 this->bApplyLoaderMask_ = bApplyLoaderMask; 472 481 this->bLoadBefore_ = bLoadBefore; 482 } 483 484 ~XMLPortClassObjectContainer() 485 { 486 assert(this->loadexecutor_); 487 delete this->loadexecutor_; 488 if (this->saveexecutor_) 489 delete this->saveexecutor_; 473 490 } 474 491
Note: See TracChangeset
for help on using the changeset viewer.