fallback for old compilers; refs #26

master
Marc Wäckerlin 12 years ago
parent 16d3a720d8
commit ab52b83f35
  1. 5
      src/pcsc.hxx

@ -76,7 +76,10 @@
#if __cplusplus <= 199711L #if __cplusplus <= 199711L
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
namespace std { namespace std {
typedef shared_ptr boost::shared_ptr; template<class T> class shared_ptr: public boost::shared_ptr<T> {
public:
shared_ptr(T* p): boost::shared_ptr<T>(p) {}
};
} }
#endif #endif

Loading…
Cancel
Save