added missing constructor; refs #7

master
Marc Wäckerlin 11 years ago
parent 80c2dc4d52
commit 2a00a46865
  1. 1
      src/mrw/checkcxx11.hxx

@ -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) {}
}; };
}; };

Loading…
Cancel
Save