Mercurial > hg > orthanc-stone
changeset 1439:4e233e3ea53b
Dead code removal
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 19 May 2020 15:31:38 +0200 |
parents | 96044a18b98d |
children | 49f31fa332b3 1df1c126fb36 |
files | Framework/Loaders/LoaderCache.cpp |
diffstat | 1 files changed, 0 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Loaders/LoaderCache.cpp Tue May 19 15:29:47 2020 +0200 +++ b/Framework/Loaders/LoaderCache.cpp Tue May 19 15:31:38 2020 +0200 @@ -164,30 +164,6 @@ } } - /** - This method allows to convert a list of string into a string by - sorting the strings then joining them - */ - static std::string SortAndJoin(const std::vector<std::string>& stringList) - { - if (stringList.size() == 0) - { - return ""; - } - else - { - std::vector<std::string> sortedStringList = stringList; - std::sort(sortedStringList.begin(), sortedStringList.end()); - std::stringstream s; - s << sortedStringList[0]; - for (size_t i = 1; i < sortedStringList.size(); ++i) - { - s << "-" << sortedStringList[i]; - } - return s.str(); - } - } - std::string LoaderCache::BuildDicomStructureSetLoaderKey( const std::string& instanceUuid, const std::string& uniqueKey)