Mercurial > hg > orthanc
changeset 3964:821715370890
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 21 May 2020 11:49:53 +0200 |
parents | 3b0c555f16a3 |
children | 7f296ae25039 |
files | Core/DicomNetworking/Internals/CommandDispatcher.cpp Plugins/Engine/OrthancPlugins.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/DicomNetworking/Internals/CommandDispatcher.cpp Thu May 21 10:47:58 2020 +0200 +++ b/Core/DicomNetworking/Internals/CommandDispatcher.cpp Thu May 21 11:49:53 2020 +0200 @@ -880,7 +880,7 @@ case DicomRequestType_Get: if (server_.HasGetRequestHandlerFactory()) // Should always be true { - std::auto_ptr<IGetRequestHandler> handler + std::unique_ptr<IGetRequestHandler> handler (server_.GetGetRequestHandlerFactory().ConstructGetRequestHandler()); if (handler.get() != NULL)