1
0
Fork 0
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:
Julian Storer 2011-04-07 22:20:25 +01:00
parent 46c3a6bbe5
commit b047d9be53
113 changed files with 560 additions and 663 deletions

View file

@ -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_);
}