# HG changeset patch # User Sebastien Jodogne # Date 1639218843 -3600 # Node ID 8377dcef9a4b3be5065927294bfaae04eeb0a7ca # Parent 07e849ede9af1f84dc54531b84df9d25b022bfe5 sync diff -r 07e849ede9af -r 8377dcef9a4b Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp --- a/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Tue Dec 07 20:19:19 2021 +0100 +++ b/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Sat Dec 11 11:34:03 2021 +0100 @@ -2596,8 +2596,8 @@ void HttpClient::ClearCredentials() { - username_.empty(); - password_.empty(); + username_.clear(); + password_.clear(); }