diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-03-01 14:20:44 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-14 11:37:02 +0100 |
| commit | 75188ee1856a4f87f775fbec8652b971288f29d6 (patch) | |
| tree | 6d2bbc5581bf9b9e07337e96ae6b21c288607806 /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 376c9c9ae36dab06cf933dbd5d759dc0f40367b0 (diff) | |
Fix the qHash(quint64) overload
The body doesn't make sense as the if condition is always true
(we even have static asserts checking that sizeof(int) == 4).
Removing the if allows us to mark the function as constexpr.
Change-Id: Iddeb042a6164d4afe6c827c10177596424d770eb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
