comparison 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
comparison
equal deleted inserted replaced
4844:55e8fb8e8028 4846:b2e08d83e21d
2594 } 2594 }
2595 2595
2596 2596
2597 void HttpClient::ClearCredentials() 2597 void HttpClient::ClearCredentials()
2598 { 2598 {
2599 username_.empty(); 2599 username_.clear();
2600 password_.empty(); 2600 password_.clear();
2601 } 2601 }
2602 2602
2603 2603
2604 void HttpClient::SetCertificate(const std::string& certificateFile, 2604 void HttpClient::SetCertificate(const std::string& certificateFile,
2605 const std::string& keyFile, 2605 const std::string& keyFile,