Mercurial > hg > orthanc-stone
diff Framework/Loaders/DicomStructureSetLoader2.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 |
line wrap: on
line diff
--- a/Framework/Loaders/DicomStructureSetLoader2.cpp Sun Feb 23 15:25:49 2020 +0100 +++ b/Framework/Loaders/DicomStructureSetLoader2.cpp Mon Mar 02 16:31:30 2020 +0100 @@ -81,7 +81,7 @@ void DicomStructureSetLoader2::LoadInstance(const std::string& instanceId) { - std::auto_ptr<OrthancRestApiCommand> command(new OrthancRestApiCommand); + std::unique_ptr<OrthancRestApiCommand> command(new OrthancRestApiCommand); command->SetHttpHeader("Accept-Encoding", "gzip"); std::string uri = "/instances/" + instanceId + "/tags?ignore-length=3006-0050";