diff --git a/src/mrw/checkcxx11.hxx b/src/mrw/checkcxx11.hxx index 95c9bb3..d6fed5e 100644 --- a/src/mrw/checkcxx11.hxx +++ b/src/mrw/checkcxx11.hxx @@ -68,14 +68,19 @@ namespace std { }; # endif # elsif __APPLE__ +# warning you need a C++11 compliant compiler, on gcc: add -std=c++11 +# warning emulating C++11 - this changes the way you use the library +# warning this is deprecated and will be removed in future releases +# warning refere to the library documentation for more details +# warning special workaround for apple # include namespace std { // there is no std::shared_ptr in apple, but // std::tr1::shared_ptr in template class shared_ptr: public tr1::shared_ptr { public: - explicit shared_ptr(): boost::shared_ptr() {} - explicit shared_ptr(T* p): boost::shared_ptr(p) {} + explicit shared_ptr(): tr1::shared_ptr() {} + explicit shared_ptr(T* p): tr1::shared_ptr(p) {} }; } # endif