diff --git a/contrib/lutok/stack_cleaner.hpp b/contrib/lutok/stack_cleaner.hpp --- a/contrib/lutok/stack_cleaner.hpp +++ b/contrib/lutok/stack_cleaner.hpp @@ -72,7 +72,7 @@ struct impl; /// Pointer to the shared internal implementation. - std::auto_ptr< impl > _pimpl; + std::unique_ptr< impl > _pimpl; /// Disallow copies. stack_cleaner(const stack_cleaner&); diff --git a/lib/liblutok/Makefile b/lib/liblutok/Makefile --- a/lib/liblutok/Makefile +++ b/lib/liblutok/Makefile @@ -18,8 +18,4 @@ WARNS?= 3 SHLIB_MAJOR= 0 -# lutok uses auto_ptr -CFLAGS+= -Wno-deprecated-declarations -CXXSTD= c++11 - .include