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:
parent
b9a0dd4b56
commit
239e9da3e3
2 changed files with 13 additions and 29 deletions
|
|
@ -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..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue