1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Fix gcc 10 warnings

This commit is contained in:
reuk 2020-07-07 11:41:41 +01:00
parent f9f5caa5cc
commit 7fe7104eea
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 2 additions and 6 deletions

View file

@ -150,7 +150,9 @@ static std::unique_ptr<Component> createProjectTemplatesTab (ContentComponent& c
StartPageTreeHolder::Open::yes);
holder->setSelectedItem (categories[0], 1);
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wredundant-move")
return std::move (holder);
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
}
//==============================================================================

View file

@ -208,12 +208,6 @@ struct ClassDatabase
noDefaultConstructor (false)
{}
InstantiationFlags (const InstantiationFlags& other)
: isAbstract (other.isAbstract),
inAnonymousNamespace (other.inAnonymousNamespace),
noDefaultConstructor (other.noDefaultConstructor)
{}
bool canBeInstantiated() const noexcept
{
return ! (isAbstract || inAnonymousNamespace || noDefaultConstructor);