From 0bae066c1febda6b4e12a4d9b820cfaa44330405 Mon Sep 17 00:00:00 2001 From: Szymon P Date: Wed, 7 Jan 2026 12:44:06 +0100 Subject: [PATCH] removed convert_string_to_set() function declaration --- src/utils.hpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/utils.hpp b/src/utils.hpp index dad1238..8d6cf35 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -3,19 +3,3 @@ // trim string in-place, removing all whitespaces and surrounding '"' symbols void trim(std::string &str); - -// Convert a string containing an inline YAML/JSON-style list of strings -// into a std::set. -// -// Supported format (single line): -// ["haha", "dupa", "xdd"] -// -// Limitations: -// - no nested structures -// - no escaping inside strings -// - elements must be quoted -// -// Example: -// Input: ["haha", "dupa", "xdd"] -// Output: {"dupa", "haha", "xdd"} // sorted, unique -std::set convert_string_to_set(std::string input);