# HG changeset patch # User Benjamin Golinvaux # Date 1589895098 -7200 # Node ID 4e233e3ea53b216e732316385d68434e074b25a6 # Parent 96044a18b98d7f3d11be921123546bb2e3d89fb1 Dead code removal diff -r 96044a18b98d -r 4e233e3ea53b Framework/Loaders/LoaderCache.cpp --- 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& stringList) - { - if (stringList.size() == 0) - { - return ""; - } - else - { - std::vector 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)