diff Framework/Loaders/GenericLoadersContext.h @ 1299:c38c89684d83 broker

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 17:21:24 +0100
parents 0ca50d275b9a
children 3d26447ddd28
line wrap: on
line diff
--- a/Framework/Loaders/GenericLoadersContext.h	Sun Feb 23 15:32:24 2020 +0100
+++ b/Framework/Loaders/GenericLoadersContext.h	Mon Mar 02 17:21:24 2020 +0100
@@ -44,7 +44,7 @@
     boost::recursive_mutex  mutex_;
 
     IObservable                         oracleObservable_;
-    std::auto_ptr<ThreadedOracle>       oracle_;
+    std::unique_ptr<ThreadedOracle>       oracle_;
     boost::shared_ptr<OracleScheduler>  scheduler_;
 
     // Necessary to keep the loaders persistent (including global