Mercurial > hg > orthanc-stone
comparison Framework/Oracle/GetOrthancImageCommand.cpp @ 1298:8a0a62189f46
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 16:31:30 +0100 |
parents | 2d8ab34c8c91 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1296:86400fa16091 | 1298:8a0a62189f46 |
---|---|
100 contentType = Orthanc::StringToMimeType(it->second); | 100 contentType = Orthanc::StringToMimeType(it->second); |
101 break; | 101 break; |
102 } | 102 } |
103 } | 103 } |
104 | 104 |
105 std::auto_ptr<Orthanc::ImageAccessor> image; | 105 std::unique_ptr<Orthanc::ImageAccessor> image; |
106 | 106 |
107 switch (contentType) | 107 switch (contentType) |
108 { | 108 { |
109 case Orthanc::MimeType_Png: | 109 case Orthanc::MimeType_Png: |
110 { | 110 { |