summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/meshfunctors/tst_meshfunctors.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-03-27 14:48:28 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-03-30 16:05:33 +0000
commit1c153ec7ceae331809b504bed7241739bc60e5b2 (patch)
tree5c69488fc6d45edcf9d5cdf5a8dda7c427dc1b6e /tests/auto/render/meshfunctors/tst_meshfunctors.cpp
parent22dcc3dcf0018ec8d2bfa50177b6f6d8d19b6a92 (diff)
Remove pointless template member function from QAbstractFunctor
Use template free function instead. Change-Id: I1171279423f164b877aaef21926ceda512fcbd2e Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/render/meshfunctors/tst_meshfunctors.cpp')
-rw-r--r--tests/auto/render/meshfunctors/tst_meshfunctors.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/render/meshfunctors/tst_meshfunctors.cpp b/tests/auto/render/meshfunctors/tst_meshfunctors.cpp
index 6aef510ea..bf5f0d55f 100644
--- a/tests/auto/render/meshfunctors/tst_meshfunctors.cpp
+++ b/tests/auto/render/meshfunctors/tst_meshfunctors.cpp
@@ -46,7 +46,7 @@ public:
bool operator ==(const Qt3DRender::QGeometryFactory &other) const Q_DECL_OVERRIDE
{
- return functor_cast<MeshFunctorA>(&other);
+ return Qt3DRender::functor_cast<MeshFunctorA>(&other);
}
QT3D_FUNCTOR(MeshFunctorA)
@@ -68,7 +68,7 @@ public:
bool operator ==(const Qt3DRender::QGeometryFactory &other) const Q_DECL_OVERRIDE
{
- return functor_cast<MeshFunctorB>(&other);
+ return Qt3DRender::functor_cast<MeshFunctorB>(&other);
}
QT3D_FUNCTOR(MeshFunctorB)
@@ -85,7 +85,7 @@ public:
bool operator ==(const Qt3DRender::QGeometryFactory &other) const Q_DECL_OVERRIDE
{
- return functor_cast<MeshFunctorASub>(&other);
+ return Qt3DRender::functor_cast<MeshFunctorASub>(&other);
}
QT3D_FUNCTOR(MeshFunctorASub)