QCalendarBackend: disable copying
Silences clazy-copyable-polymorphic. The Q_DISABLE_COPY_MOVE() disables the implicit default constructor, so bring it back with =default. Amends aa8393c94fea01a4806b204fd3aa343a4e90666b. Pick-to: 6.5 Change-Id: I44f0b19208d3865fb84e277bcaf65d7f4541d368 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit b211d8a8c0196a96b2aa324c9e3d991ae378c7f4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 004ccc54d9d26a5215402a82e417ae7f36a07897)
This commit is contained in:
parent
030fd4b2fa
commit
5c94245249
@ -59,8 +59,10 @@ class Q_CORE_EXPORT QCalendarBackend
|
||||
{
|
||||
friend class QCalendar;
|
||||
friend class QtPrivate::QCalendarRegistry;
|
||||
Q_DISABLE_COPY_MOVE(QCalendarBackend)
|
||||
|
||||
public:
|
||||
QCalendarBackend() = default;
|
||||
virtual ~QCalendarBackend();
|
||||
virtual QString name() const = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user