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:
Martchus 2020-05-01 13:58:44 +02:00
parent 26b0d2d97c
commit 668b149647
1 changed files with 1 additions and 1 deletions

View File

@ -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 {