diff options
Diffstat (limited to 'boost/spirit/home/classic/symbols/impl/tst.ipp')
-rw-r--r-- | boost/spirit/home/classic/symbols/impl/tst.ipp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/spirit/home/classic/symbols/impl/tst.ipp b/boost/spirit/home/classic/symbols/impl/tst.ipp index 1a4a0c1052..60932c94ce 100644 --- a/boost/spirit/home/classic/symbols/impl/tst.ipp +++ b/boost/spirit/home/classic/symbols/impl/tst.ipp @@ -10,7 +10,7 @@ #define BOOST_SPIRIT_TST_IPP /////////////////////////////////////////////////////////////////////////////// -#include <memory> // for std::auto_ptr +#include <boost/move/unique_ptr.hpp> #include <boost/spirit/home/classic/core/assert.hpp> /////////////////////////////////////////////////////////////////////////////// @@ -62,7 +62,7 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN tst_node* clone() const { - std::auto_ptr<tst_node> copy(new tst_node(value)); + boost::movelib::unique_ptr<tst_node> copy(new tst_node(value)); if (left) copy->left = left->clone(); @@ -75,7 +75,7 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN } else { - std::auto_ptr<T> mid_data(new T(*middle.data)); + boost::movelib::unique_ptr<T> mid_data(new T(*middle.data)); copy->middle.data = mid_data.release(); } |