Mercurial > hg > orthanc-stone
comparison Framework/Oracle/GetOrthancImageCommand.cpp @ 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 | 7ec8fea061b9 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
110 contentType = Orthanc::StringToMimeType(it->second); | 110 contentType = Orthanc::StringToMimeType(it->second); |
111 break; | 111 break; |
112 } | 112 } |
113 } | 113 } |
114 | 114 |
115 std::auto_ptr<Orthanc::ImageAccessor> image; | 115 std::unique_ptr<Orthanc::ImageAccessor> image; |
116 | 116 |
117 switch (contentType) | 117 switch (contentType) |
118 { | 118 { |
119 case Orthanc::MimeType_Png: | 119 case Orthanc::MimeType_Png: |
120 { | 120 { |