diff options
Diffstat (limited to 'routing/online_cross_fetcher.cpp')
-rw-r--r-- | routing/online_cross_fetcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routing/online_cross_fetcher.cpp b/routing/online_cross_fetcher.cpp index 27e6c36f0e..f114b985f1 100644 --- a/routing/online_cross_fetcher.cpp +++ b/routing/online_cross_fetcher.cpp @@ -62,9 +62,9 @@ OnlineCrossFetcher::OnlineCrossFetcher(string const & serverURL, ms::LatLon cons void OnlineCrossFetcher::Do() { m_mwmPoints.clear(); - if (m_request.RunHttpRequest() && m_request.error_code() == 200 && !m_request.was_redirected()) - ParseResponse(m_request.server_response(), m_mwmPoints); + if (m_request.RunHttpRequest() && m_request.ErrorCode() == 200 && !m_request.WasRedirected()) + ParseResponse(m_request.ServerResponse(), m_mwmPoints); else - LOG(LWARNING, ("Can't get OSRM server response. Code: ", m_request.error_code())); + LOG(LWARNING, ("Can't get OSRM server response. Code: ", m_request.ErrorCode())); } } // namespace routing |