From a07a512cfb62e38a760b9b3795d45873fdaaae56 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Nov 2017 10:24:27 +0200 Subject: Disable auto_ptr in C++11 mode --- cutl/details/boost/config/user.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cutl/details/boost') diff --git a/cutl/details/boost/config/user.hpp b/cutl/details/boost/config/user.hpp index be97597..9da38cd 100644 --- a/cutl/details/boost/config/user.hpp +++ b/cutl/details/boost/config/user.hpp @@ -11,6 +11,10 @@ #include +#ifdef LIBCUTL_CXX11 +# define BOOST_NO_AUTO_PTR +#endif + // We have removed those. // #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS -- cgit v1.1