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/bbb002d31436
branches:  trunk
changeset: 973479:bbb002d31436
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 7880af048f6d -r bbb002d31436 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