path: root/tests/auto/corelib/global/qlogging/test
diff options
authorMarc Mutz <>2012-02-17 12:02:14 +0100
committerQt by Nokia <>2012-02-22 00:07:31 +0100
commitf3141c58badbd2da9eb42021e9704742c3e52a9b (patch)
treeb8b45bc1639ddeceac9d2fb326944a895794bd6b /tests/auto/corelib/global/qlogging/test
parent4c577aead97abb4e22fedcf57cb9aea6c5bfa623 (diff)
QtCore: add constexpr to geometric classes
This turns code like QPoint(12, 12) into a compile-time expression, under a C++11 compiler, and allows to define arrays of these types that end up in read-only memory, just like PODs would. Some constructors and QLine::pointAt() needed to be adjusted to fit into the empty-body/only-return-expression requirement for constexpr constructors/functions. Change-Id: Id11ee2752c948930c3e40a91d1f6d7c97db7a373 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'tests/auto/corelib/global/qlogging/test')
0 files changed, 0 insertions, 0 deletions