diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-02-01 20:44:18 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-02-12 19:39:26 +0000 |
commit | 2cb7f28ec9351af4440d9597eb3d053809141541 (patch) | |
tree | f823361fa635eb0fad18a84b2d8d28305259e112 /header.FDL | |
parent | 44ab48db21efcfe74d3c8c6dc32562f95ed6e354 (diff) |
QtMiscUtils: make toHex*() constexpr
Bring them into a constexpr'able form, by indexing into the
string literal directly instead of into a static const char[],
which is a declaration not allowed in a C++11 constexpr
function, then mark the functions constexpr.
Change-Id: I6b32a55bf24f85caeb980c0c855b8db0952f914c
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'header.FDL')
0 files changed, 0 insertions, 0 deletions