Question : boost shared_ptr

hi there!

i try to give a boost shared pointer a new Pointer, but it fails:
boost::shared_ptr::reset' : 2 overloads have no legal conversion for 'this' pointer

anyone an idea?
Code Snippet:
1:
2:
3:
4:
this->_tbfCmdHandler.reset(new TbfCmdHandler()); 
Housekeeping::Facade &hk = Singleton::instance ();

hk.getTBFInstallation()->_tbfCmdHandlerPtr.reset(_tbfCmdHandler.get() );

Answer : boost shared_ptr

Maybe hk.getTBFInstallation()->_tbfCmdHandlerPtr is const and you can't reset it?
Is the error on line 1 or line 4?
Random Solutions  
 
programming4us programming4us