Mercurial > hg > orthanc
diff Plugins/Engine/PluginsErrorDictionary.cpp @ 3712:2a170a8f1faf
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 15:32:45 +0100 |
parents | 94f4a18a79cc |
children |
line wrap: on
line diff
--- a/Plugins/Engine/PluginsErrorDictionary.cpp Fri Feb 28 13:23:11 2020 +0100 +++ b/Plugins/Engine/PluginsErrorDictionary.cpp Mon Mar 02 15:32:45 2020 +0100 @@ -69,7 +69,7 @@ uint16_t httpStatus, const char* message) { - std::auto_ptr<Error> error(new Error); + std::unique_ptr<Error> error(new Error); error->pluginName_ = PluginsManager::GetPluginName(library); error->pluginCode_ = pluginCode;