mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Fixed some whitespace style and cleaned up some code using C++11
This commit is contained in:
parent
405a6aeaed
commit
8ed41ed14b
95 changed files with 310 additions and 320 deletions
|
|
@ -715,7 +715,7 @@ void ComponentLayout::fillInGeneratedCode (GeneratedCode& code) const
|
|||
String ComponentLayout::getComponentMemberVariableName (Component* comp) const
|
||||
{
|
||||
if (comp == nullptr)
|
||||
return String();
|
||||
return {};
|
||||
|
||||
String name (comp->getProperties() ["memberName"].toString());
|
||||
|
||||
|
|
@ -775,7 +775,7 @@ String ComponentLayout::getUnusedMemberName (String nameRoot, Component* comp) c
|
|||
String ComponentLayout::getComponentVirtualClassName (Component* comp) const
|
||||
{
|
||||
if (comp == nullptr)
|
||||
return String();
|
||||
return {};
|
||||
|
||||
return comp->getProperties() ["virtualName"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue