Mercurial > hg > orthanc
diff OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 4846:b2e08d83e21d
fix OrthancPlugins::HttpClient::ClearCredentials()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 11 Dec 2021 11:33:15 +0100 |
parents | 8557729ebaa2 |
children | 43e613a7756b |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Tue Dec 07 14:01:17 2021 +0100 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Sat Dec 11 11:33:15 2021 +0100 @@ -2596,8 +2596,8 @@ void HttpClient::ClearCredentials() { - username_.empty(); - password_.empty(); + username_.clear(); + password_.clear(); }