diff src/core/strings.cc @ 320:1b5c04268d6a

services/kitsu: ACTUALLY finish GetAnimeList there are some things the API just... doesn't provide. therefore we have to request the genres separately any time a new anime info box is opened...
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 19:49:19 -0400
parents f6a756c19bfb
children c32467cd06bb
line wrap: on
line diff
--- a/src/core/strings.cc	Wed Jun 12 17:52:26 2024 -0400
+++ b/src/core/strings.cc	Wed Jun 12 19:49:19 2024 -0400
@@ -40,21 +40,6 @@
 	return out;
 }
 
-std::string Implode(const std::set<std::string>& set, const std::string& delimiter) {
-	if (set.size() < 1)
-		return "";
-
-	std::string out;
-
-	for (auto it = set.cbegin(); it != set.cend(); it++) {
-		out.append(*it);
-		if (it != std::prev(set.cend(), 1))
-			out.append(delimiter);
-	}
-
-	return out;
-}
-
 std::vector<std::string> Split(const std::string& text, const std::string& delimiter) {
 	if (text.length() < 1)
 		return {};