- Timestamp:
- Aug 20, 2010, 2:59:20 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/Executor.cc
r7189 r7192 39 39 namespace orxonox 40 40 { 41 int Functor::instances_s = 0; 42 int Executor::instances_s = 0; 43 41 44 Executor::Executor(Functor* functor, const std::string& name) 42 45 { 46 this->references_ = 0; 43 47 this->functor_ = functor; 44 48 this->name_ = name; 49 ++instances_s; COUT(0) << "executor ++: " << instances_s << std::endl; 45 50 } 46 51 … … 48 53 { 49 54 delete this->functor_; 55 --instances_s; COUT(0) << "executor --: " << instances_s << std::endl; 50 56 } 51 57
Note: See TracChangeset
for help on using the changeset viewer.