diff --git a/src/pcsc.hxx b/src/pcsc.hxx index cacde09..5b2159e 100644 --- a/src/pcsc.hxx +++ b/src/pcsc.hxx @@ -76,7 +76,10 @@ #if __cplusplus <= 199711L #include namespace std { - typedef shared_ptr boost::shared_ptr; + template class shared_ptr: public boost::shared_ptr { + public: + shared_ptr(T* p): boost::shared_ptr(p) {} + }; } #endif