changeset 4846:b2e08d83e21d

fix OrthancPlugins::HttpClient::ClearCredentials()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 11 Dec 2021 11:33:15 +0100
parents 55e8fb8e8028
children 5c4be6b10c11
files OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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();
   }