From ab52b83f3530ce55b74c4a3f49f357ca1ebe7973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 13 Jun 2013 09:24:25 +0000 Subject: [PATCH] fallback for old compilers; refs #26 --- src/pcsc.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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