[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.
This commit is contained in:
parent
04487e3a75
commit
a2b0361d86
1 changed files with 0 additions and 1 deletions
|
@ -141,7 +141,6 @@ namespace Garbage
|
||||||
if (keyBegin == keyEnd) {
|
if (keyBegin == keyEnd) {
|
||||||
throw ParseError(currentLine, "Empty key is not allowed");
|
throw ParseError(currentLine, "Empty key is not allowed");
|
||||||
}
|
}
|
||||||
// Allow empty values?
|
|
||||||
|
|
||||||
std::string_view key(rawConf.data() + keyBegin, keyEnd - keyBegin);
|
std::string_view key(rawConf.data() + keyBegin, keyEnd - keyBegin);
|
||||||
std::string_view value(rawConf.data() + valueBegin, valueEnd - valueBegin);
|
std::string_view value(rawConf.data() + valueBegin, valueEnd - valueBegin);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue