From a2b0361d86eff8e0e7390b8a79e24d9617f33674 Mon Sep 17 00:00:00 2001 From: TennesseeTrash Date: Mon, 9 Jun 2025 01:41:44 +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);