diff --git a/contrib/lutok/stack_cleaner.hpp b/contrib/lutok/stack_cleaner.hpp index cd3e1468656..3e3a8edc3b6 100644 --- a/contrib/lutok/stack_cleaner.hpp +++ b/contrib/lutok/stack_cleaner.hpp @@ -72,7 +72,7 @@ class stack_cleaner { 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 index 656cf7850f2..1ac88cfa06b 100644 --- a/lib/liblutok/Makefile +++ b/lib/liblutok/Makefile @@ -19,8 +19,4 @@ CFLAGS+= -I${SRCTOP}/contrib/lutok/include \ WARNS?= 3 SHLIB_MAJOR= 0 -# lutok uses auto_ptr -CFLAGS+= -Wno-deprecated-declarations -CXXSTD= c++11 - .include