upgrade to JUCE 5.4.3. Remove (probably) unused JUCE modules. Remove VST2 target (it's been end-of-life'd by Steinberg and by JUCE)
This commit is contained in:
@ -53,17 +53,17 @@ File& File::operator= (const File& other)
|
||||
}
|
||||
|
||||
File::File (File&& other) noexcept
|
||||
: fullPath (static_cast<String&&> (other.fullPath))
|
||||
: fullPath (std::move (other.fullPath))
|
||||
{
|
||||
}
|
||||
|
||||
File& File::operator= (File&& other) noexcept
|
||||
{
|
||||
fullPath = static_cast<String&&> (other.fullPath);
|
||||
fullPath = std::move (other.fullPath);
|
||||
return *this;
|
||||
}
|
||||
|
||||
JUCE_DECLARE_DEPRECATED_STATIC (const File File::nonexistent;)
|
||||
JUCE_DECLARE_DEPRECATED_STATIC (const File File::nonexistent{};)
|
||||
|
||||
//==============================================================================
|
||||
static String removeEllipsis (const String& path)
|
||||
@ -256,13 +256,13 @@ bool File::setExecutePermission (bool shouldBeExecutable) const
|
||||
return setFileExecutableInternal (shouldBeExecutable);
|
||||
}
|
||||
|
||||
bool File::deleteRecursively() const
|
||||
bool File::deleteRecursively (bool followSymlinks) const
|
||||
{
|
||||
bool worked = true;
|
||||
|
||||
if (isDirectory())
|
||||
if (isDirectory() && (followSymlinks || ! isSymbolicLink()))
|
||||
for (auto& f : findChildFiles (File::findFilesAndDirectories, false))
|
||||
worked = f.deleteRecursively() && worked;
|
||||
worked = f.deleteRecursively (followSymlinks) && worked;
|
||||
|
||||
return deleteFile() && worked;
|
||||
}
|
||||
|
Reference in New Issue
Block a user