summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather_addstn.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-03-30 12:43:46 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-03-30 12:43:46 +0300
commitc0e1d45695a918796ad34118596f345098ec39b9 (patch)
tree80dd5b0b3d795957a33452f5f406ac5049510436 /protocols/Weather/src/weather_addstn.cpp
parent7d95e67308ee0abcce5c7bd66265146d3dfefd74 (diff)
code cleaning
Diffstat (limited to 'protocols/Weather/src/weather_addstn.cpp')
-rw-r--r--protocols/Weather/src/weather_addstn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Weather/src/weather_addstn.cpp b/protocols/Weather/src/weather_addstn.cpp
index 90c60ab68b..1bdfb9b49d 100644
--- a/protocols/Weather/src/weather_addstn.cpp
+++ b/protocols/Weather/src/weather_addstn.cpp
@@ -204,7 +204,7 @@ HANDLE CWeatherProto::SearchAdvanced(MWindow hwndOwner)
int CWeatherProto::IDSearch(wchar_t *sID, int searchId)
{
- JsonReply reply(RunQuery(sID, 0));
+ WeatherReply reply(RunQuery(sID, 0));
if (reply) {
auto &data = reply.data();
CMStringW id(FORMAT, L"%lf, %lf", data["latitude"].as_float(), data["longitude"].as_float());