Mercurial > hg > orthanc
diff OrthancFramework/Sources/Toolbox.cpp @ 5167:de7a639c5ad2
fix constness
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 21 Feb 2023 22:03:44 +0100 |
parents | 95d8e0540219 |
children | 0ea402b4d901 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.cpp Wed Feb 15 05:27:16 2023 +0100 +++ b/OrthancFramework/Sources/Toolbox.cpp Tue Feb 21 22:03:44 2023 +0100 @@ -1055,15 +1055,15 @@ void Toolbox::JoinStrings(std::string& result, - std::set<std::string>& source, + const std::set<std::string>& source, const char* separator) { result = boost::algorithm::join(source, separator); } - void JoinStrings(std::string& result, - std::vector<std::string>& source, - const char* separator) + void Toolbox::JoinStrings(std::string& result, + const std::vector<std::string>& source, + const char* separator) { result = boost::algorithm::join(source, separator); }