Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 21, 2010, 9:52:13 PM (15 years ago)
Author:
landauf
Message:

createFunctor() now returns a SharedPtr instead of a pointer. Adapted code that uses createFunctor() accordingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/Executor.cc

    r7196 r7198  
    4242    int Executor::instances_s = 0;
    4343
    44     Executor::Executor(Functor* functor, const std::string& name)
     44    Executor::Executor(const FunctorPtr& functor, const std::string& name)
    4545    {
    4646        this->functor_ = functor;
     
    5151    Executor::~Executor()
    5252    {
    53         delete this->functor_;
    5453        --instances_s; COUT(0) << "executor --: " << instances_s << std::endl;
    5554    }
Note: See TracChangeset for help on using the changeset viewer.