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/5fe30e9b5bbd
branches:  trunk
changeset: 1011514:5fe30e9b5bbd
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 82cbc6a80c7e -r 5fe30e9b5bbd 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