Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 22, 2015, 4:55:02 PM (8 years ago)
Author:
landauf
Message:

use std::shared_ptr instead of orxonox::SharedPtr for FunctorPtr and ExecutorPtr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/command/ConsoleCommand.cc

    r10821 r10825  
    320320    {
    321321        if (this->executor_)
    322             this->pushFunction(new Executor(*this->executor_.get()));
     322            this->pushFunction(std::make_shared<Executor>(*this->executor_.get()));
    323323        else
    324324            orxout(internal_error, context::commands) << "Couldn't push copy of executor in console command \"" << this->baseName_ << "\", no executor set." << endl;
Note: See TracChangeset for help on using the changeset viewer.