Skip to content

Commit

Permalink
Switch from std::string to wxString for testing GeocodeDeveloper method
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Jan 28, 2025
1 parent dd1b2bf commit db66759
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/geotools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,13 @@ bool GeoTools::GeocodeDeveloper(const wxString& address, double* lat, double* lo
}

rapidjson::Document reader;
// wxString str = curl.GetDataAsString();
wxString str = curl.GetDataAsString();

// str.Replace("\"", "\\\"");

std::string str = curl.GetDataAsString().ToStdString();
// std::string str = curl.GetDataAsString().ToStdString();

wxMessageBox((wxString)str, "geocode developer URL return string");
wxMessageBox(str, "geocode developer URL return string");


// rapidjson::StringStream is(str.c_str());
Expand Down

0 comments on commit db66759

Please sign in to comment.