Mercurial > hg > orthanc
comparison Core/JobsEngine/Operations/SequenceOfOperationsJob.cpp @ 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 | 56f2397f027a |
comparison
equal
deleted
inserted
replaced
3709:1f4910999fe7 | 3712:2a170a8f1faf |
---|---|
54 | 54 |
55 | 55 |
56 class SequenceOfOperationsJob::Operation : public boost::noncopyable | 56 class SequenceOfOperationsJob::Operation : public boost::noncopyable |
57 { | 57 { |
58 private: | 58 private: |
59 size_t index_; | 59 size_t index_; |
60 std::auto_ptr<IJobOperation> operation_; | 60 std::unique_ptr<IJobOperation> operation_; |
61 std::auto_ptr<JobOperationValues> originalInputs_; | 61 std::unique_ptr<JobOperationValues> originalInputs_; |
62 std::auto_ptr<JobOperationValues> workInputs_; | 62 std::unique_ptr<JobOperationValues> workInputs_; |
63 std::list<Operation*> nextOperations_; | 63 std::list<Operation*> nextOperations_; |
64 size_t currentInput_; | 64 size_t currentInput_; |
65 | 65 |
66 public: | 66 public: |
67 Operation(size_t index, | 67 Operation(size_t index, |
68 IJobOperation* operation) : | 68 IJobOperation* operation) : |
69 index_(index), | 69 index_(index), |