mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
More 'nullptr' updates and minor clean-ups.
This commit is contained in:
parent
46c3a6bbe5
commit
b047d9be53
113 changed files with 560 additions and 663 deletions
|
|
@ -156,7 +156,7 @@ PropertiesFile::~PropertiesFile()
|
|||
|
||||
InterProcessLock::ScopedLockType* PropertiesFile::createProcessLock() const
|
||||
{
|
||||
return processLock != nullptr ? new InterProcessLock::ScopedLockType (*processLock) : 0;
|
||||
return processLock != nullptr ? new InterProcessLock::ScopedLockType (*processLock) : nullptr;
|
||||
}
|
||||
|
||||
bool PropertiesFile::saveIfNeeded()
|
||||
|
|
@ -335,7 +335,7 @@ PropertiesFile* PropertiesFile::createDefaultAppPropertiesFile (const String& ap
|
|||
jassert (file != File::nonexistent);
|
||||
|
||||
if (file == File::nonexistent)
|
||||
return 0;
|
||||
return nullptr;
|
||||
|
||||
return new PropertiesFile (file, millisecondsBeforeSaving, propertiesFileOptions,processLock_);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue