Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
5166:90bf30eba698 | 5167:de7a639c5ad2 |
---|---|
1053 result.push_back(currentItem); | 1053 result.push_back(currentItem); |
1054 } | 1054 } |
1055 | 1055 |
1056 | 1056 |
1057 void Toolbox::JoinStrings(std::string& result, | 1057 void Toolbox::JoinStrings(std::string& result, |
1058 std::set<std::string>& source, | 1058 const std::set<std::string>& source, |
1059 const char* separator) | 1059 const char* separator) |
1060 { | 1060 { |
1061 result = boost::algorithm::join(source, separator); | 1061 result = boost::algorithm::join(source, separator); |
1062 } | 1062 } |
1063 | 1063 |
1064 void JoinStrings(std::string& result, | 1064 void Toolbox::JoinStrings(std::string& result, |
1065 std::vector<std::string>& source, | 1065 const std::vector<std::string>& source, |
1066 const char* separator) | 1066 const char* separator) |
1067 { | 1067 { |
1068 result = boost::algorithm::join(source, separator); | 1068 result = boost::algorithm::join(source, separator); |
1069 } | 1069 } |
1070 | 1070 |
1071 | 1071 |