Page MenuHomeFreeBSD

D49788.id.diff
No OneTemporary

D49788.id.diff

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 <bsd.lib.mk>

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 26, 9:40 AM (15 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35524606
Default Alt Text
D49788.id.diff (657 B)

Event Timeline