fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "handler_mdm_data.h"
|
||||
#include <utility>
|
||||
#include "initialization.h"
|
||||
#include <LtsCoordTrans/lts_coord_trans.h>
|
||||
#include "settings.h"
|
||||
@@ -49,7 +50,7 @@ bool HandlerMdmData::getNearestWeather(const Core::GeoPosition2D &pos,
|
||||
double nearestDistanceSquared = std::numeric_limits<double>::max();
|
||||
|
||||
bool found = false;
|
||||
for (const auto &md : qAsConst(m_meteoData))
|
||||
for (const auto &md : std::as_const(m_meteoData))
|
||||
{
|
||||
if (md.isStaticMeteoData)
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user