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:
parent
f9f5caa5cc
commit
7fe7104eea
2 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue