1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

A few C++11 modernisations and comment corrections

This commit is contained in:
jules 2017-03-28 12:31:51 +01:00
parent e253b8bea1
commit 44cd80969d
25 changed files with 43 additions and 45 deletions

View file

@ -69,7 +69,7 @@ static StringArray recursiveFiles;
File TestComponent::findFile() const
{
if (filename.isEmpty())
return File();
return {};
if (ownerDocument != nullptr)
return ownerDocument->getCppFile().getSiblingFile (filename);