diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-03-01 16:11:50 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-14 11:37:02 +0100 |
commit | f8b727d94bf1cbbb61eee6efaf04de46787eccc4 (patch) | |
tree | 82f048e2cb0c322adde61831de70e3edf7556b6a /src/corelib/tools/qcommandlineparser.h | |
parent | 96c0a433e6adddbbdae41287f2ab07203cb01281 (diff) |
Make qHash(QChar) constexpr
The signature needs a small change -- from qHash(QChar, uint) to
qHash(const QChar, uint). The reason is that we need to select
the const (and constexpr) overload of QChar::unicode in the body.
Apart from this, it shouldn't have any effect on user code.
Change-Id: I38f4f66a715111c7472e3d7def75a6cff7030919
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.h')
0 files changed, 0 insertions, 0 deletions