qt5base-lts/tests/auto/corelib/tools/qhash
Giuseppe D'Angelo 3e1d03b1ea Port Q_STATIC_ASSERT(_X) to static_assert
There is no reason for keep using our macro now that we have C++17.
The macro itself is left in for the moment being, as well as its
detection logic, because it's needed for C code (not everything
supports C11 yet).  A few more cleanups will arrive in the next few
patches.

Note that this is a mere search/replace; some places were using
double braces to work around the presence of commas in a macro, no
attempt has been done to fix those.

tst_qglobal had just some minor changes to keep testing the macro.

Change-Id: I1c1c397d9f3e63db3338842bf350c9069ea57639
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-06-19 19:38:23 +02:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
.prev_CMakeLists.txt Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
CMakeLists.txt Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qhash.pro Add QT_NO_JAVA_STYLE_ITERATORS and mark QtBase free of it 2019-07-03 14:48:37 +02:00
tst_qhash.cpp Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00