fallback for old compilers; refs #26
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user