summaryrefslogtreecommitdiffstats
path: root/src/extras/geometries/qspheregeometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extras/geometries/qspheregeometry.cpp')
-rw-r--r--src/extras/geometries/qspheregeometry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extras/geometries/qspheregeometry.cpp b/src/extras/geometries/qspheregeometry.cpp
index eae12ef39..92844335c 100644
--- a/src/extras/geometries/qspheregeometry.cpp
+++ b/src/extras/geometries/qspheregeometry.cpp
@@ -177,12 +177,12 @@ public:
{
}
- QByteArray operator ()() Q_DECL_OVERRIDE
+ QByteArray operator ()() override
{
return createSphereMeshVertexData(m_radius, m_rings, m_slices);
}
- bool operator ==(const QBufferDataGenerator &other) const Q_DECL_OVERRIDE
+ bool operator ==(const QBufferDataGenerator &other) const override
{
const SphereVertexDataFunctor *otherFunctor = functor_cast<SphereVertexDataFunctor>(&other);
if (otherFunctor != nullptr)
@@ -209,12 +209,12 @@ public:
{
}
- QByteArray operator ()() Q_DECL_OVERRIDE
+ QByteArray operator ()() override
{
return createSphereMeshIndexData(m_rings, m_slices);
}
- bool operator ==(const QBufferDataGenerator &other) const Q_DECL_OVERRIDE
+ bool operator ==(const QBufferDataGenerator &other) const override
{
const SphereIndexDataFunctor *otherFunctor = functor_cast<SphereIndexDataFunctor>(&other);
if (otherFunctor != nullptr)