File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -106,14 +106,14 @@ void SimulatedPositionProvider::generateRadiusPosition()
106106 }
107107 else
108108 {
109- position.elevation = qQNaN ();
110- position.elevation_diff = qQNaN ();
109+ position.elevation = std::numeric_limits< double >:: quiet_NaN ();
110+ position.elevation_diff = std::numeric_limits< double >:: quiet_NaN ();
111111 }
112112 }
113113 else
114114 {
115- position.elevation = qQNaN ();
116- position.elevation_diff = qQNaN ();
115+ position.elevation = std::numeric_limits< double >:: quiet_NaN ();
116+ position.elevation_diff = std::numeric_limits< double >:: quiet_NaN ();
117117 }
118118
119119 const QDateTime timestamp = QDateTime::currentDateTime ();
@@ -156,8 +156,8 @@ void SimulatedPositionProvider::generateConstantPosition()
156156 }
157157 else
158158 {
159- position.elevation = qQNaN ();
160- position.elevation_diff = qQNaN ();
159+ position.elevation = std::numeric_limits< double >:: quiet_NaN ();
160+ position.elevation_diff = std::numeric_limits< double >:: quiet_NaN ();
161161 }
162162 position.utcDateTime = QDateTime::currentDateTime ();
163163 position.direction = 360 - static_cast <int >( mAngle ) % 360 ;
You can’t perform that action at this time.
0 commit comments