mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Demos: Fix some compiler warnings
This commit is contained in:
parent
57202b360a
commit
d8a2095400
3 changed files with 2 additions and 6 deletions
|
|
@ -62,7 +62,7 @@ public:
|
|||
: DocumentWindow (name, Colours::lightgrey, DocumentWindow::allButtons)
|
||||
{
|
||||
setUsingNativeTitleBar (true);
|
||||
setContentOwned (createMainContentComponent(), true);
|
||||
setContentOwned (new MainContentComponent(), true);
|
||||
setResizable (false, false);
|
||||
|
||||
#if JUCE_IOS || JUCE_ANDROID
|
||||
|
|
|
|||
|
|
@ -271,7 +271,3 @@ private:
|
|||
//==============================================================================
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainContentComponent)
|
||||
};
|
||||
|
||||
|
||||
// (This function is called by the app startup code to create our main component)
|
||||
Component* createMainContentComponent() { return new MainContentComponent(); }
|
||||
|
|
|
|||
|
|
@ -490,7 +490,7 @@ struct MultiLogo : public BackgroundLogo
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
void createAllDemos (OwnedArray<AnimatedContent>& demos)
|
||||
inline void createAllDemos (OwnedArray<AnimatedContent>& demos)
|
||||
{
|
||||
demos.add (new FlockDemo());
|
||||
demos.add (new FlockWithText());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue