missing import
replaced boost::shared_ptr with std::shared_ptr
cast