1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added some missing override keywords

This commit is contained in:
ed 2018-09-03 10:54:16 +01:00
parent 06abfc16ce
commit ba85dd7a05
9 changed files with 32 additions and 32 deletions

View file

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

View file

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

View file

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

View file

@ -67,7 +67,7 @@ public:
//==============================================================================
/** @internal */
Drawable* createCopy() const;
Drawable* createCopy() const override;
private:
//==============================================================================

View file

@ -62,7 +62,7 @@ public:
//==============================================================================
/** @internal */
Drawable* createCopy() const;
Drawable* createCopy() const override;
private:
Parallelogram<float> bounds;

View file

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

View file

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

View file

@ -66,7 +66,7 @@ public:
//==============================================================================
/** @internal */
void refresh();
void refresh() override;
private:
TextButton button;

View file

@ -92,7 +92,7 @@ public:
//==============================================================================
/** @internal */
void refresh();
void refresh() override;
protected:
/** The slider component being used in this component.