diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-12-21 10:38:19 -0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-12-28 21:30:28 +0000 |
commit | 656804b9645a83430dcd0929c49b4065d43d7990 (patch) | |
tree | 42dbf3803057dfced51440d9f0976a0f6f497e6a /tests/auto/network/socket/qudpsocket | |
parent | 0fd5fe28abd557f96b78c5b52b21efe50ec6763b (diff) |
qrandom.h: actually #undef min and max instead of using parentheses
Putting parentheses around the call to (std::numeric_limits<T>::min)()
works, but the trick cannot apply to the min() function declaration on
the same line. So we really need to #undef.
I hope no one after the 1990s still needs these macros.
Task-number: QTBUG-65414
Change-Id: I39332e0a867442d58082fffd15024f8edb293311
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/network/socket/qudpsocket')
0 files changed, 0 insertions, 0 deletions