Browse Source

Added a couple of missing 'override's

tags/2021-05-28
jules 9 years ago
parent
commit
db09156251
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      examples/AnimationAppExample/Source/MainComponent.cpp
  2. +2
    -2
      modules/juce_core/files/juce_WildcardFileFilter.h

+ 1
- 1
examples/AnimationAppExample/Source/MainComponent.cpp View File

@@ -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


+ 2
- 2
modules/juce_core/files/juce_WildcardFileFilter.h View File

@@ -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:
//==============================================================================


Loading…
Cancel
Save