
The std::tr1::shared_ptr needs to be explicitly used inside the function or the std::tr1 namespace replaced with std:: namespace.
The std::tr1::shared_ptr needs to be explicitly used inside the function or the std::tr1 namespace replaced with std:: namespace.