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

Added various clang-tidy modernize-* fixes

This commit is contained in:
ed 2019-01-31 15:15:31 +00:00
parent 360be3400d
commit a234721110
162 changed files with 283 additions and 338 deletions

View file

@ -81,7 +81,7 @@ public:
{
public:
ElementBase (ElementType type);
virtual ~ElementBase() {}
virtual ~ElementBase() = default;
virtual void addToPath (Path& path, Expression::Scope*) const = 0;
virtual RelativePoint* getControlPoints (int& numPoints) = 0;
virtual ElementBase* clone() const = 0;
@ -129,9 +129,9 @@ public:
{
public:
LineTo (const RelativePoint& endPoint);
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 endPoint;