diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-09-04 21:10:05 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-08 09:08:27 +0200 |
commit | ce8e6abe7fff563b11ab1e83e2bd83cbac5745f9 (patch) | |
tree | f914f6be4096738fb3a0720410478e0801b8974d /src/gui/opengl | |
parent | afb0260f50f41fa72f8447fdb84f8d907a725fe5 (diff) |
Check for C++ operators that should be 'const'
Make sure all C++ class comparison operators are const.
Change-Id: Ib4a66f2afe6c62f437dae1ecde94287d3db8442d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'src/gui/opengl')
-rw-r--r-- | src/gui/opengl/qopenglengineshadermanager_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglengineshadermanager_p.h b/src/gui/opengl/qopenglengineshadermanager_p.h index 72ae1f9073..997a9d8e79 100644 --- a/src/gui/opengl/qopenglengineshadermanager_p.h +++ b/src/gui/opengl/qopenglengineshadermanager_p.h @@ -399,7 +399,7 @@ public: bool useOpacityAttribute; bool usePmvMatrixAttribute; - bool operator==(const QOpenGLEngineShaderProg& other) { + bool operator==(const QOpenGLEngineShaderProg& other) const { // We don't care about the program return ( mainVertexShader == other.mainVertexShader && positionVertexShader == other.positionVertexShader && |