added compiler warning; refs #26

This commit is contained in:
Marc Wäckerlin
2013-06-13 10:37:04 +00:00
parent f63b0388ef
commit 45c9096c41

View File

@@ -74,6 +74,7 @@
#endif #endif
#ifdef NO_CXX2011 #ifdef NO_CXX2011
#warning Old compiler (pre 2011): using boost as replacement for std
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
namespace std { namespace std {
template<class T> class shared_ptr: public boost::shared_ptr<T> { template<class T> class shared_ptr: public boost::shared_ptr<T> {