From db091562517a71983c51bde96ca79a05fb8c3213 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 20 Jan 2016 08:18:42 -0800 Subject: [PATCH] Added a couple of missing 'override's --- examples/AnimationAppExample/Source/MainComponent.cpp | 2 +- modules/juce_core/files/juce_WildcardFileFilter.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/AnimationAppExample/Source/MainComponent.cpp b/examples/AnimationAppExample/Source/MainComponent.cpp index b06b5a3492..7de6d1535c 100644 --- a/examples/AnimationAppExample/Source/MainComponent.cpp +++ b/examples/AnimationAppExample/Source/MainComponent.cpp @@ -62,7 +62,7 @@ public: g.strokePath (spinePath, PathStrokeType (4.0f)); } - void resized() + void resized() override { // This is called when the MainContentComponent is resized. // If you add any child components, this is where you should diff --git a/modules/juce_core/files/juce_WildcardFileFilter.h b/modules/juce_core/files/juce_WildcardFileFilter.h index af9a757b79..ada6850686 100644 --- a/modules/juce_core/files/juce_WildcardFileFilter.h +++ b/modules/juce_core/files/juce_WildcardFileFilter.h @@ -66,10 +66,10 @@ public: //============================================================================== /** Returns true if the filename matches one of the patterns specified. */ - bool isFileSuitable (const File& file) const; + bool isFileSuitable (const File& file) const override; /** This always returns true. */ - bool isDirectorySuitable (const File& file) const; + bool isDirectorySuitable (const File& file) const override; private: //==============================================================================