1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

PropertiesFile: Allow for initialization of PropertiesFile::Options using Cpp20 Aggregate Initialization

This commit is contained in:
Pawel 'l0ner' Soltys 2025-08-15 01:28:44 +02:00
parent b9a0dd4b56
commit 239e9da3e3
2 changed files with 13 additions and 29 deletions

View file

@ -47,16 +47,6 @@ namespace PropertyFileConstants
}
//==============================================================================
PropertiesFile::Options::Options()
: commonToAllUsers (false),
ignoreCaseOfKeyNames (false),
doNotSave (false),
millisecondsBeforeSaving (3000),
storageFormat (PropertiesFile::storeAsXML),
processLock (nullptr)
{
}
File PropertiesFile::Options::getDefaultFile() const
{
// mustn't have illegal characters in this name..