# HG changeset patch # User Sebastien Jodogne # Date 1590054593 -7200 # Node ID 821715370890cc0f31bef001b107f3e96f85faf3 # Parent 3b0c555f16a3e44c0fa34716475f7302b25422c8 cppcheck diff -r 3b0c555f16a3 -r 821715370890 Core/DicomNetworking/Internals/CommandDispatcher.cpp --- 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 handler + std::unique_ptr handler (server_.GetGetRequestHandlerFactory().ConstructGetRequestHandler()); if (handler.get() != NULL) diff -r 3b0c555f16a3 -r 821715370890 Plugins/Engine/OrthancPlugins.cpp --- a/Plugins/Engine/OrthancPlugins.cpp Thu May 21 10:47:58 2020 +0200 +++ b/Plugins/Engine/OrthancPlugins.cpp Thu May 21 11:49:53 2020 +0200 @@ -5223,7 +5223,7 @@ if (pimpl_->transcoderCallbacks_.empty()) { - return NULL; + return false; } std::vector uids;