summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2016-12-09 14:13:31 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2016-12-09 13:19:09 +0000
commitd08213709959cd52f55b8a277e7485ae14e441c2 (patch)
tree7a24bcec93d2d30140bc51699ff494233863bdcf /src
parent2906563af414810a71d704db7b4d5f7c882c3667 (diff)
downloadqtlocation-d08213709959cd52f55b8a277e7485ae14e441c2.tar.gz
Compile-fix: qAbs is less ambiguous than abs(double)
Furthermore, since the candidates for abs(), that g++ found, all took integral parameters, they would have involved truncation. Our qAbs() is suitably templated to cope with double naturally. Change-Id: I373a08657ed182c7d853104879b07fb7704cc418 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions