Skip to content

Commit

Permalink
Convert to std::array and std::string. (mythweather)
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Aug 28, 2020
1 parent f69209f commit e1c1779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mythweather/mythweather/weatherSource.cpp
Expand Up @@ -110,7 +110,7 @@ bool WeatherSource::ProbeTimeouts(const QString& workingDirectory,
return false;
}

bool isOK[2];
std::array<bool,2> isOK {};
uint ut = temp[0].toUInt(&isOK[0]);
uint st = temp[1].toUInt(&isOK[1]);
if (!isOK[0] || !isOK[1])
Expand Down

0 comments on commit e1c1779

Please sign in to comment.