Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/lutok/dist lutok: use unique_ptr not auto_ptr



details:   https://anonhg.NetBSD.org/src/rev/e7ecb8999f2f
branches:  trunk
changeset: 935419:e7ecb8999f2f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jul 02 13:54:19 2020 +0000

description:
lutok: use unique_ptr not auto_ptr

diffstat:

 external/bsd/lutok/dist/stack_cleaner.hpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 54e19cae91a8 -r e7ecb8999f2f external/bsd/lutok/dist/stack_cleaner.hpp
--- a/external/bsd/lutok/dist/stack_cleaner.hpp Thu Jul 02 13:04:46 2020 +0000
+++ b/external/bsd/lutok/dist/stack_cleaner.hpp Thu Jul 02 13:54:19 2020 +0000
@@ -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&);



Home | Main Index | Thread Index | Old Index