summaryrefslogtreecommitdiff
path: root/src/location/places/qplacecontent_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/places/qplacecontent_p.h')
-rw-r--r--src/location/places/qplacecontent_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/places/qplacecontent_p.h b/src/location/places/qplacecontent_p.h
index 23b176bc..f2bbe6bf 100644
--- a/src/location/places/qplacecontent_p.h
+++ b/src/location/places/qplacecontent_p.h
@@ -67,8 +67,8 @@ QT_BEGIN_NAMESPACE
Class::Class(const QPlaceContent &other) : QPlaceContent() { Class##Private::copyIfPossible(d_ptr, other); }
#define Q_DEFINE_CONTENT_PRIVATE_HELPER(Class, ContentType) \
- virtual QPlaceContentPrivate *clone() const { return new Class##Private(*this); } \
- virtual QPlaceContent::Type type() const {return ContentType;} \
+ QPlaceContentPrivate *clone() const override { return new Class##Private(*this); } \
+ QPlaceContent::Type type() const override {return ContentType;} \
static void copyIfPossible(QSharedDataPointer<QPlaceContentPrivate> &d_ptr, const QPlaceContent &other) \
{ \
if (other.type() == ContentType) \