diff options
author | Kevin Funk <kfunk@kde.org> | 2017-09-21 17:14:38 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-09-25 10:42:44 +0000 |
commit | 93f5ac54f56b8c340731fd88e1b88525fca7793c (patch) | |
tree | 61f28cbaa19c0ca7aa07bcee0f7f0fd71eb06fb5 /src/extras/geometries/qcuboidgeometry.cpp | |
parent | 43542ef59ac9324106a0690da3b808b23d5ab3a9 (diff) |
Replace Q_DECL_FINAL with final
Change-Id: Ia80d1cb9cc96d76f8b367caa725c59a70ae0a4d5
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/extras/geometries/qcuboidgeometry.cpp')
-rw-r--r-- | src/extras/geometries/qcuboidgeometry.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extras/geometries/qcuboidgeometry.cpp b/src/extras/geometries/qcuboidgeometry.cpp index 3bb68a500..a8899989c 100644 --- a/src/extras/geometries/qcuboidgeometry.cpp +++ b/src/extras/geometries/qcuboidgeometry.cpp @@ -405,13 +405,13 @@ public: ~CuboidVertexBufferFunctor() {} - QByteArray operator()() Q_DECL_FINAL + QByteArray operator()() final { return createCuboidVertexData(m_xExtent, m_yExtent, m_zExtent, m_yzFaceResolution, m_xzFaceResolution, m_xyFaceResolution); } - bool operator ==(const QBufferDataGenerator &other) const Q_DECL_FINAL + bool operator ==(const QBufferDataGenerator &other) const final { const CuboidVertexBufferFunctor *otherFunctor = functor_cast<CuboidVertexBufferFunctor>(&other); if (otherFunctor != nullptr) @@ -448,12 +448,12 @@ public: ~CuboidIndexBufferFunctor() {} - QByteArray operator()() Q_DECL_FINAL + QByteArray operator()() final { return createCuboidIndexData(m_yzFaceResolution, m_xzFaceResolution, m_xyFaceResolution); } - bool operator ==(const QBufferDataGenerator &other) const Q_DECL_FINAL + bool operator ==(const QBufferDataGenerator &other) const final { const CuboidIndexBufferFunctor *otherFunctor = functor_cast<CuboidIndexBufferFunctor>(&other); if (otherFunctor != nullptr) |