diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-03-27 14:48:28 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-03-30 16:05:33 +0000 |
commit | 1c153ec7ceae331809b504bed7241739bc60e5b2 (patch) | |
tree | 5c69488fc6d45edcf9d5cdf5a8dda7c427dc1b6e /tests/auto/render/qbuffer | |
parent | 22dcc3dcf0018ec8d2bfa50177b6f6d8d19b6a92 (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/qbuffer')
-rw-r--r-- | tests/auto/render/qbuffer/tst_qbuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/render/qbuffer/tst_qbuffer.cpp b/tests/auto/render/qbuffer/tst_qbuffer.cpp index a65f27cb6..fdc25cbca 100644 --- a/tests/auto/render/qbuffer/tst_qbuffer.cpp +++ b/tests/auto/render/qbuffer/tst_qbuffer.cpp @@ -51,7 +51,7 @@ public: bool operator ==(const Qt3DRender::QBufferDataGenerator &other) const Q_DECL_FINAL { - const TestFunctor *otherFunctor = functor_cast<TestFunctor>(&other); + const TestFunctor *otherFunctor = Qt3DRender::functor_cast<TestFunctor>(&other); if (otherFunctor != nullptr) return otherFunctor->m_size == m_size; return false; |