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/places/qplacesearchresult_p.h | |
parent | a8cbbeb3ab8b60a252ab1ef89c15e12bee15888a (diff) | |
download | qtlocation-08f7958e9aebd6d1b827547623c94f6705bea7c2.tar.gz |
Cleanup: remove virtual keyword from overrides
Change-Id: Iac3ac030809f57cfcffbfcc3257551efb6c1ff0f
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/location/places/qplacesearchresult_p.h')
-rw-r--r-- | src/location/places/qplacesearchresult_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/places/qplacesearchresult_p.h b/src/location/places/qplacesearchresult_p.h index ff958af2..72fc98ce 100644 --- a/src/location/places/qplacesearchresult_p.h +++ b/src/location/places/qplacesearchresult_p.h @@ -68,8 +68,8 @@ QT_BEGIN_NAMESPACE Class::Class(const QPlaceSearchResult &other) : QPlaceSearchResult() { Class##Private::copyIfPossible(d_ptr, other); } #define Q_DEFINE_SEARCHRESULT_PRIVATE_HELPER(Class, ResultType) \ - virtual QPlaceSearchResultPrivate *clone() const override { return new Class##Private(*this); } \ - virtual QPlaceSearchResult::SearchResultType type() const override {return ResultType;} \ + QPlaceSearchResultPrivate *clone() const override { return new Class##Private(*this); } \ + QPlaceSearchResult::SearchResultType type() const override {return ResultType;} \ static void copyIfPossible(QSharedDataPointer<QPlaceSearchResultPrivate> &d_ptr, const QPlaceSearchResult &other) \ { \ if (other.type() == ResultType) \ |