Initialize AdvancedIniFile::Field by default with IniFileFieldFlags::HasValue
The case that there's no equal sign is rather odd so don't make it the default.
This commit is contained in:
parent
26b0d2d97c
commit
668b149647
|
@ -83,7 +83,7 @@ struct CPP_UTILITIES_EXPORT AdvancedIniFile {
|
|||
std::string precedingCommentBlock;
|
||||
std::string followingInlineComment;
|
||||
std::size_t paddedKeyLength = 0;
|
||||
IniFileFieldFlags flags = IniFileFieldFlags::None;
|
||||
IniFileFieldFlags flags = IniFileFieldFlags::HasValue;
|
||||
};
|
||||
using FieldList = std::vector<Field>;
|
||||
struct Section {
|
||||
|
|
Loading…
Reference in New Issue