Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147878377
D49788.1784659972.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
657 B
Referenced Files
None
Subscribers
None
D49788.1784659972.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 21, 6:52 PM (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29220113
Default Alt Text
D49788.1784659972.diff (657 B)
Attached To
Mode
D49788: lutok: Switch from std::auto_ptr<> to std::unique_ptr<>
Attached
Detach File
Event Timeline
Log In to Comment