Update smart_ptr.h

mod shared ptr