diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-03-23 12:25:33 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 19:26:45 +0200 |
commit | f1963324d26e825cd4cce3f666702933b86d92c8 (patch) | |
tree | 197e5a6fa78a310273e0c530b81c80b579e91d0f /src/printsupport/dialogs | |
parent | 59a5c78e20db507b4b21893ab9e4e833543e436e (diff) |
QUuid: mark constructors constexpr
See e.g. f3141c58badbd2da9eb42 for rationale.
The problematic part here is the array member
which in C++98 cannot be initialised in the
ctor-initializer-list. For this, C++11 Uniform
Initialisation is needed, for which Qt does
not yet have a Q_COMPILER_* macro. I'm not sure
we need one, either, since I doubt that there's
a compiler that implements std::initializer_list,
but not uniform initialisation.
Change-Id: I4fa8f4f9db8703096358634fb2e6f5de61f0fedd
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/printsupport/dialogs')
0 files changed, 0 insertions, 0 deletions