Mercurial > hg > orthanc
diff OrthancServer/ServerJobs/LuaJobManager.h @ 3712:2a170a8f1faf
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 15:32:45 +0100 |
parents | 94f4a18a79cc |
children | 6498739a3c3c |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/LuaJobManager.h Fri Feb 28 13:23:11 2020 +0100 +++ b/OrthancServer/ServerJobs/LuaJobManager.h Mon Mar 02 15:32:45 2020 +0100 @@ -69,11 +69,11 @@ class Lock : public boost::noncopyable { private: - LuaJobManager& that_; - boost::mutex::scoped_lock lock_; - JobsEngine& engine_; - std::auto_ptr<SequenceOfOperationsJob::Lock> jobLock_; - bool isNewJob_; + LuaJobManager& that_; + boost::mutex::scoped_lock lock_; + JobsEngine& engine_; + std::unique_ptr<SequenceOfOperationsJob::Lock> jobLock_; + bool isNewJob_; public: Lock(LuaJobManager& that,