diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-09-10 23:16:36 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-09-12 11:58:27 +0200 |
commit | 08f7958e9aebd6d1b827547623c94f6705bea7c2 (patch) | |
tree | 2cc9770e5268b499e9a6b8d9aa11a677946c2801 /src/location/maps/qgeoroutesegment_p.h | |
parent | a8cbbeb3ab8b60a252ab1ef89c15e12bee15888a (diff) |
Cleanup: remove virtual keyword from overrides
Change-Id: Iac3ac030809f57cfcffbfcc3257551efb6c1ff0f
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/location/maps/qgeoroutesegment_p.h')
-rw-r--r-- | src/location/maps/qgeoroutesegment_p.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/location/maps/qgeoroutesegment_p.h b/src/location/maps/qgeoroutesegment_p.h index 7dea3637..3807d4b8 100644 --- a/src/location/maps/qgeoroutesegment_p.h +++ b/src/location/maps/qgeoroutesegment_p.h @@ -110,27 +110,27 @@ public: QGeoRouteSegmentPrivateDefault(); QGeoRouteSegmentPrivateDefault(const QGeoRouteSegmentPrivateDefault &other); ~QGeoRouteSegmentPrivateDefault(); - virtual QGeoRouteSegmentPrivate *clone() override; + QGeoRouteSegmentPrivate *clone() override; bool operator ==(const QGeoRouteSegmentPrivateDefault &other) const; - virtual bool valid() const override; - virtual void setValid(bool valid) override; + bool valid() const override; + void setValid(bool valid) override; - virtual bool isLegLastSegment() const override; - virtual void setLegLastSegment(bool lastSegment) override; + bool isLegLastSegment() const override; + void setLegLastSegment(bool lastSegment) override; - virtual int travelTime() const override; - virtual void setTravelTime(int travelTime) override; + int travelTime() const override; + void setTravelTime(int travelTime) override; - virtual qreal distance() const override; - virtual void setDistance(qreal distance) override; + qreal distance() const override; + void setDistance(qreal distance) override; - virtual QList<QGeoCoordinate> path() const override; - virtual void setPath(const QList<QGeoCoordinate> &path) override; + QList<QGeoCoordinate> path() const override; + void setPath(const QList<QGeoCoordinate> &path) override; - virtual QGeoManeuver maneuver() const override; - virtual void setManeuver(const QGeoManeuver &maneuver) override; + QGeoManeuver maneuver() const override; + void setManeuver(const QGeoManeuver &maneuver) override; bool m_valid; |