summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-07 13:24:56 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-07 12:37:50 +0000
commit0434d50a17cdc54ae17b4a6397c6fba6c9b81cdb (patch)
tree790b404dcd5bf3acacfc5b50fe7e8c86805e4c81
parentf74e987399b4d2288ab3adfd4da1b5d9c06ecfdb (diff)
QChannel/QChannelComponent: Export comparison operators
Change-Id: I44d1400da38949285f1c12c17bba3561b36f6dc9 Reviewed-by: Mike Krus <mike.krus@kdab.com> (cherry picked from commit ca4a251a207795b879a15f0df30f21e717183172) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/animation/frontend/qchannel.h8
-rw-r--r--src/animation/frontend/qchannelcomponent.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/animation/frontend/qchannel.h b/src/animation/frontend/qchannel.h
index f13466094..463cb21e2 100644
--- a/src/animation/frontend/qchannel.h
+++ b/src/animation/frontend/qchannel.h
@@ -85,10 +85,10 @@ public:
const_reverse_iterator rend() const noexcept { return const_reverse_iterator(begin()); }
const_reverse_iterator crend() const noexcept { return rend(); }
- friend bool operator==(const QChannel &,
- const QChannel &) noexcept;
- friend bool operator!=(const QChannel &,
- const QChannel &) noexcept;
+ friend Q_3DANIMATIONSHARED_EXPORT bool operator==(const QChannel &,
+ const QChannel &) noexcept;
+ friend Q_3DANIMATIONSHARED_EXPORT bool operator!=(const QChannel &,
+ const QChannel &) noexcept;
private:
QScopedPointer<QChannelPrivate> d;
diff --git a/src/animation/frontend/qchannelcomponent.h b/src/animation/frontend/qchannelcomponent.h
index 066d23447..fe9e73ed1 100644
--- a/src/animation/frontend/qchannelcomponent.h
+++ b/src/animation/frontend/qchannelcomponent.h
@@ -82,10 +82,10 @@ public:
const_reverse_iterator rend() const noexcept { return const_reverse_iterator(begin()); }
const_reverse_iterator crend() const noexcept { return rend(); }
- friend bool operator==(const QChannelComponent &,
- const QChannelComponent &) noexcept;
- friend bool operator!=(const QChannelComponent &,
- const QChannelComponent &) noexcept;
+ friend Q_3DANIMATIONSHARED_EXPORT bool operator==(const QChannelComponent &,
+ const QChannelComponent &) noexcept;
+ friend Q_3DANIMATIONSHARED_EXPORT bool operator!=(const QChannelComponent &,
+ const QChannelComponent &) noexcept;
private:
QScopedPointer<QChannelComponentPrivate> d;