diff options
author | Robert Szefner <r.szefner@hydro-partner.pl> | 2019-03-11 00:23:31 +0100 |
---|---|---|
committer | Robert Szefner <robertsz27@interia.pl> | 2019-03-11 13:18:38 +0000 |
commit | 52c0bb59945f5068c84238619411078a1c67620f (patch) | |
tree | b4198ce241bcf6293c5b0115559bc685b597bfee /src/network/socket/qlocalsocket_win.cpp | |
parent | 0a02de62d1fe4341684df370242fd3aca3b21f9d (diff) |
QPSQL: Use qstrtod() function for string to double conversion
A change to qstrtod() will give us a small performance improvement.
Because the qstrtod() function does not correctly parse the NaN values,
an appropriate check condition for NaN has been added.
Also changed code structure so now the double conversion function
is called only in one place.
Task-number: QTBUG-65748
Change-Id: I49d40e5157e79cc5fce35db4c4272d1ccd270c6b
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/network/socket/qlocalsocket_win.cpp')
0 files changed, 0 insertions, 0 deletions