aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cutl/compiler/code-stream.hxx1
-rw-r--r--cutl/container/any.hxx1
-rw-r--r--cutl/details/boost/config/user.hpp4
3 files changed, 5 insertions, 1 deletions
diff --git a/cutl/compiler/code-stream.hxx b/cutl/compiler/code-stream.hxx
index 4b79244..1d4cff4 100644
--- a/cutl/compiler/code-stream.hxx
+++ b/cutl/compiler/code-stream.hxx
@@ -5,7 +5,6 @@
#ifndef CUTL_COMPILER_CODE_STREAM_HXX
#define CUTL_COMPILER_CODE_STREAM_HXX
-#include <memory> // std::auto_ptr
#include <ostream>
#include <cutl/exception.hxx>
diff --git a/cutl/container/any.hxx b/cutl/container/any.hxx
index 42fb1eb..ccf30fc 100644
--- a/cutl/container/any.hxx
+++ b/cutl/container/any.hxx
@@ -9,6 +9,7 @@
#include <typeinfo> // std::type_info
#include <cutl/exception.hxx>
+#include <cutl/details/config.hxx> // LIBCUTL_CXX11
namespace cutl
{
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 <cutl/details/config.hxx>
+#ifdef LIBCUTL_CXX11
+# define BOOST_NO_AUTO_PTR
+#endif
+
// We have removed those.
//
#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS