diff options
author | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2016-01-26 14:52:30 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2016-01-29 10:35:17 +0000 |
commit | 81514c19c1eddfbce2fd34314eab9192e31c08d7 (patch) | |
tree | db9be152b16b79b21cda3905a48b35c6fdaf0c0a /src/network/socket/qnativesocketengine_unix.cpp | |
parent | 61efb292d293604122b5a7445c8331b547fcd732 (diff) |
Revert "Correct floordiv() to cope with implementation-defined division."
This reverts commit cd9625fc3cacb4efd0da57d9f5780671f5c1310f.
The ambiguity in division, with negative operands, goes away in C++11
(where division is defined to truncate, hence round towards zero), so
we no longer need to be robust against it in 5.7. Added suitable
commentary to make clear that we are relying on that.
Change-Id: Id2c0d421bad4bcec87de9cc9519cd00df2456930
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network/socket/qnativesocketengine_unix.cpp')
0 files changed, 0 insertions, 0 deletions