Permalink
Browse files

Restored compatibility with older versions of Xcode

  • Loading branch information...
tpoole committed Feb 11, 2019
1 parent 1681886 commit 6f6451b7d27afa4236982349ff9306a74d6bfae1
Showing with 3 additions and 2 deletions.
  1. +1 −1 modules/juce_core/files/juce_File.cpp
  2. +2 −1 modules/juce_core/files/juce_TemporaryFile.cpp
@@ -63,7 +63,7 @@ File& File::operator= (File&& other) noexcept
return *this;
}

JUCE_DECLARE_DEPRECATED_STATIC (const File File::nonexistent;)
JUCE_DECLARE_DEPRECATED_STATIC (const File File::nonexistent{};)

//==============================================================================
static String removeEllipsis (const String& path)
@@ -35,7 +35,8 @@ static File createTempFile (const File& parentDirectory, String name,
TemporaryFile::TemporaryFile (const String& suffix, const int optionFlags)
: temporaryFile (createTempFile (File::getSpecialLocation (File::tempDirectory),
"temp_" + String::toHexString (Random::getSystemRandom().nextInt()),
suffix, optionFlags))
suffix, optionFlags)),
targetFile()
{
}

1 comment on commit 6f6451b

@petermcculloch

This comment has been minimized.

Copy link

petermcculloch commented on 6f6451b Feb 13, 2019

This is still broken on master branch. Can you pull it over there?

Please sign in to comment.