Mercurial > hg > orthanc
diff OrthancFramework/Sources/Toolbox.h @ 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.h Wed Feb 15 05:27:16 2023 +0100 +++ b/OrthancFramework/Sources/Toolbox.h Tue Feb 21 22:03:44 2023 +0100 @@ -188,11 +188,11 @@ char separator); static void JoinStrings(std::string& result, - std::set<std::string>& source, + const std::set<std::string>& source, const char* separator); static void JoinStrings(std::string& result, - std::vector<std::string>& source, + const std::vector<std::string>& source, const char* separator); // returns true if all element of 'needles' are found in 'haystack'