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>
| commit | d08213709959cd52f55b8a277e7485ae14e441c2 |
| parent | 2906563af414810a71d704db7b4d5f7c882c3667 |
| author | Edward Welbourne <edward.welbourne@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Fri, 9 Dec 2016 13:19:09 +0000 |