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.6 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>
This commit is contained in:
parent
fb453fe28c
commit
004ccc54d9
@ -59,8 +59,10 @@ class Q_CORE_EXPORT QCalendarBackend
|
|||||||
{
|
{
|
||||||
friend class QCalendar;
|
friend class QCalendar;
|
||||||
friend class QtPrivate::QCalendarRegistry;
|
friend class QtPrivate::QCalendarRegistry;
|
||||||
|
Q_DISABLE_COPY_MOVE(QCalendarBackend)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
QCalendarBackend() = default;
|
||||||
virtual ~QCalendarBackend();
|
virtual ~QCalendarBackend();
|
||||||
virtual QString name() const = 0;
|
virtual QString name() const = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user