added missing constructor; refs #7

This commit is contained in:
Marc Wäckerlin
2013-10-16 11:49:32 +00:00
parent 80c2dc4d52
commit 2a00a46865

View File

@@ -41,6 +41,7 @@ namespace std {
// one from the boost library as a 1:1 replacement // one from the boost library as a 1:1 replacement
template <typename T> class shared_ptr: public boost::shared_ptr<T> { template <typename T> class shared_ptr: public boost::shared_ptr<T> {
public: public:
explicit shared_ptr(): boost::shared_ptr<T>() {}
explicit shared_ptr(T* p): boost::shared_ptr<T>(p) {} explicit shared_ptr(T* p): boost::shared_ptr<T>(p) {}
}; };
}; };