Test::Test() { mProcessor = std::make_shared<Processor>(); } Test::process() { mProcessor->do(); } Test::set() { mProcessor = std::make_shared<Processor>(); }
: Test::Test() : { : mProcessor = std::make_shared<Processor>(); : } : : Test::process() : { : mProcessor->do(); : } : : : Test::set() : { : mProcessor = std::make_shared<Processor>(); : } :