mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
lutok: Switch from std::auto_ptr<> to std::unique_ptr<>
This mirrors upstream commit bd5904144c9778a07685f3e4efa6ef011a5480ec. Reviewed by: igoro, imp, emaste Differential Revision: https://reviews.freebsd.org/D49788
This commit is contained in:
parent
f1a94c5552
commit
25f2634a1f
2 changed files with 1 additions and 5 deletions
|
|
@ -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&);
|
||||
|
|
|
|||
|
|
@ -18,8 +18,4 @@ CFLAGS+= -I${SRCTOP}/contrib/lutok/include \
|
|||
WARNS?= 3
|
||||
SHLIB_MAJOR= 0
|
||||
|
||||
# lutok uses auto_ptr
|
||||
CFLAGS+= -Wno-deprecated-declarations
|
||||
CXXSTD= c++11
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue