summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qudpsocket.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-12-21 10:38:19 -0200
committerThiago Macieira <thiago.macieira@intel.com>2017-12-28 21:30:28 +0000
commit656804b9645a83430dcd0929c49b4065d43d7990 (patch)
tree42dbf3803057dfced51440d9f0976a0f6f497e6a /src/network/socket/qudpsocket.cpp
parent0fd5fe28abd557f96b78c5b52b21efe50ec6763b (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 'src/network/socket/qudpsocket.cpp')
0 files changed, 0 insertions, 0 deletions