From c801062cd9bc68b7666eeb64008c226217021625 Mon Sep 17 00:00:00 2001 From: Viktor Soukup Date: Sat, 17 May 2025 21:20:38 +0200 Subject: [PATCH] [SimpleConf] Remove comment about empty values These values are allowed , not least of all because it can be useful to be able to specify an empty value. --- Garbage/Include/Garbage/SimpleConf.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Garbage/Include/Garbage/SimpleConf.hpp b/Garbage/Include/Garbage/SimpleConf.hpp index 2972ea5..a8ea30a 100644 --- a/Garbage/Include/Garbage/SimpleConf.hpp +++ b/Garbage/Include/Garbage/SimpleConf.hpp @@ -141,7 +141,6 @@ namespace Garbage if (keyBegin == keyEnd) { throw ParseError(currentLine, "Empty key is not allowed"); } - // Allow empty values? std::string_view key(rawConf.data() + keyBegin, keyEnd - keyBegin); std::string_view value(rawConf.data() + valueBegin, valueEnd - valueBegin);