diff --git a/modules/juce_core/logging/juce_FileLogger.h b/modules/juce_core/logging/juce_FileLogger.h index ff932a91ce..6629f851b2 100644 --- a/modules/juce_core/logging/juce_FileLogger.h +++ b/modules/juce_core/logging/juce_FileLogger.h @@ -114,7 +114,7 @@ public: static File getSystemLogFileFolder(); // (implementation of the Logger virtual method) - void logMessage (const String&); + void logMessage (const String&) override; //============================================================================== /** This is a utility function which removes lines from the start of a text diff --git a/modules/juce_core/streams/juce_FileInputSource.h b/modules/juce_core/streams/juce_FileInputSource.h index 84b918512e..de4d22756f 100644 --- a/modules/juce_core/streams/juce_FileInputSource.h +++ b/modules/juce_core/streams/juce_FileInputSource.h @@ -45,9 +45,9 @@ public: /** Destructor. */ ~FileInputSource(); - InputStream* createInputStream(); - InputStream* createInputStreamFor (const String& relatedItemPath); - int64 hashCode() const; + InputStream* createInputStream() override; + InputStream* createInputStreamFor (const String& relatedItemPath) override; + int64 hashCode() const override; private: //============================================================================== diff --git a/modules/juce_core/streams/juce_URLInputSource.h b/modules/juce_core/streams/juce_URLInputSource.h index d7bfe739ae..89f334800a 100644 --- a/modules/juce_core/streams/juce_URLInputSource.h +++ b/modules/juce_core/streams/juce_URLInputSource.h @@ -47,9 +47,9 @@ public: /** Destructor. */ ~URLInputSource(); - InputStream* createInputStream(); - InputStream* createInputStreamFor (const String& relatedItemPath); - int64 hashCode() const; + InputStream* createInputStream() override; + InputStream* createInputStreamFor (const String& relatedItemPath) override; + int64 hashCode() const override; private: //============================================================================== diff --git a/modules/juce_gui_basics/drawables/juce_DrawablePath.h b/modules/juce_gui_basics/drawables/juce_DrawablePath.h index ff54073282..575e5c9913 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawablePath.h +++ b/modules/juce_gui_basics/drawables/juce_DrawablePath.h @@ -67,7 +67,7 @@ public: //============================================================================== /** @internal */ - Drawable* createCopy() const; + Drawable* createCopy() const override; private: //============================================================================== diff --git a/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h b/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h index a53d9b5519..d3eae4f7a8 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h @@ -62,7 +62,7 @@ public: //============================================================================== /** @internal */ - Drawable* createCopy() const; + Drawable* createCopy() const override; private: Parallelogram bounds; diff --git a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h index b1ab4849ab..c534c08f4f 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h @@ -41,12 +41,12 @@ public: RelativeCoordinatePositionerBase (Component&); ~RelativeCoordinatePositionerBase(); - void componentMovedOrResized (Component&, bool, bool); - void componentParentHierarchyChanged (Component&); - void componentChildrenChanged (Component&); - void componentBeingDeleted (Component&); - void markersChanged (MarkerList*); - void markerListBeingDeleted (MarkerList*); + void componentMovedOrResized (Component&, bool, bool) override; + void componentParentHierarchyChanged (Component&) override; + void componentChildrenChanged (Component&) override; + void componentBeingDeleted (Component&) override; + void markersChanged (MarkerList*) override; + void markerListBeingDeleted (MarkerList*) override; void apply(); @@ -63,9 +63,9 @@ public: // Suppress a VS2013 compiler warning ComponentScope& operator= (const ComponentScope&) = delete; - Expression getSymbolValue (const String& symbol) const; - void visitRelativeScope (const String& scopeName, Visitor&) const; - String getScopeUID() const; + Expression getSymbolValue (const String& symbol) const override; + void visitRelativeScope (const String& scopeName, Visitor&) const override; + String getScopeUID() const override; protected: Component& component; diff --git a/modules/juce_gui_basics/positioning/juce_RelativePointPath.h b/modules/juce_gui_basics/positioning/juce_RelativePointPath.h index ddcda84708..813d6af41f 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativePointPath.h +++ b/modules/juce_gui_basics/positioning/juce_RelativePointPath.h @@ -99,9 +99,9 @@ public: { public: StartSubPath (const RelativePoint& pos); - void addToPath (Path& path, Expression::Scope*) const; - RelativePoint* getControlPoints (int& numPoints); - ElementBase* clone() const; + void addToPath (Path& path, Expression::Scope*) const override; + RelativePoint* getControlPoints (int& numPoints) override; + ElementBase* clone() const override; RelativePoint startPos; @@ -115,9 +115,9 @@ public: { public: CloseSubPath(); - void addToPath (Path& path, Expression::Scope*) const; - RelativePoint* getControlPoints (int& numPoints); - ElementBase* clone() const; + void addToPath (Path& path, Expression::Scope*) const override; + RelativePoint* getControlPoints (int& numPoints) override; + ElementBase* clone() const override; private: JUCE_DECLARE_NON_COPYABLE (CloseSubPath) @@ -146,9 +146,9 @@ public: public: QuadraticTo (const RelativePoint& controlPoint, const RelativePoint& endPoint); ValueTree createTree() const; - void addToPath (Path& path, Expression::Scope*) const; - RelativePoint* getControlPoints (int& numPoints); - ElementBase* clone() const; + void addToPath (Path& path, Expression::Scope*) const override; + RelativePoint* getControlPoints (int& numPoints) override; + ElementBase* clone() const override; RelativePoint controlPoints[2]; @@ -163,9 +163,9 @@ public: public: CubicTo (const RelativePoint& controlPoint1, const RelativePoint& controlPoint2, const RelativePoint& endPoint); ValueTree createTree() const; - void addToPath (Path& path, Expression::Scope*) const; - RelativePoint* getControlPoints (int& numPoints); - ElementBase* clone() const; + void addToPath (Path& path, Expression::Scope*) const override; + RelativePoint* getControlPoints (int& numPoints) override; + ElementBase* clone() const override; RelativePoint controlPoints[3]; diff --git a/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h b/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h index 66885f239a..67b85eba6c 100644 --- a/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h @@ -66,7 +66,7 @@ public: //============================================================================== /** @internal */ - void refresh(); + void refresh() override; private: TextButton button; diff --git a/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h b/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h index e814fc80c6..240c5f1793 100644 --- a/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h @@ -92,7 +92,7 @@ public: //============================================================================== /** @internal */ - void refresh(); + void refresh() override; protected: /** The slider component being used in this component.