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 /src/extras/text/qtextureatlas.cpp | |
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 'src/extras/text/qtextureatlas.cpp')
-rw-r--r-- | src/extras/text/qtextureatlas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extras/text/qtextureatlas.cpp b/src/extras/text/qtextureatlas.cpp index 49c6397d6..2b82010a6 100644 --- a/src/extras/text/qtextureatlas.cpp +++ b/src/extras/text/qtextureatlas.cpp @@ -179,7 +179,7 @@ Qt3DRender::QTextureDataPtr QTextureAtlasGenerator::operator()() bool QTextureAtlasGenerator::operator==(const QTextureGenerator &other) const { - const QTextureAtlasGenerator *otherFunctor = functor_cast<QTextureAtlasGenerator>(&other); + const QTextureAtlasGenerator *otherFunctor = Qt3DRender::functor_cast<QTextureAtlasGenerator>(&other); return (otherFunctor != nullptr && otherFunctor->m_data == m_data && otherFunctor->m_atlasId == m_atlasId |