comparison OrthancServer/ServerJobs/Operations/SystemCallOperation.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 d729d6e8b484
comparison
equal deleted inserted replaced
3709:1f4910999fe7 3712:2a170a8f1faf
79 { 79 {
80 std::vector<std::string> arguments = preArguments_; 80 std::vector<std::string> arguments = preArguments_;
81 81
82 arguments.reserve(arguments.size() + postArguments_.size() + 1); 82 arguments.reserve(arguments.size() + postArguments_.size() + 1);
83 83
84 std::auto_ptr<TemporaryFile> tmp; 84 std::unique_ptr<TemporaryFile> tmp;
85 85
86 switch (input.GetType()) 86 switch (input.GetType())
87 { 87 {
88 case JobOperationValue::Type_DicomInstance: 88 case JobOperationValue::Type_DicomInstance:
89 { 89 {