summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogl2/mainwindow.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-27 13:47:44 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-06-28 15:56:17 +0000
commitdff10573f27aa93650030e2634c5eb3632b3cfdd (patch)
tree4dc16601e7d4b996edf42c4b7c2e2e80b76a3317 /examples/opengl/hellogl2/mainwindow.cpp
parent62e3bd638ae381c68a0bc71e9d90dfbfe574124b (diff)
QWeakPointer: remove misleading Q_DECL_CONSTEXPR
Adding constexpr there is allowed, because QWeakPointer is a class template. But in 100% of cases, it will be dropped, because the destructor is not trivial. So, don't mislead users and devs to think that any or even all QWeakPointers could ever be constexpr. Change-Id: Ia50aad4d6c4fb724254308150124c666e82ef817 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'examples/opengl/hellogl2/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions