diff options
author | Sergey Yershov <syershov@maps.me> | 2016-12-12 16:04:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 16:04:39 +0300 |
commit | da713d5c05778d87460eec939610d13baccd2803 (patch) | |
tree | 8c337f3b7ccc00cf911445b38afa9536d0f869d2 | |
parent | 416af2c8e24af937f415a38e90038f8037b2a9ca (diff) | |
parent | e96a98df8535aac4703c82ebc6c5d8e2fd2264f9 (diff) |
Merge pull request #4957 from therearesomewhocallmetim/fix_nullptrbeta-522
Fixes compilation on Linux.
-rw-r--r-- | routing/routing_tests/online_cross_fetcher_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/routing_tests/online_cross_fetcher_test.cpp b/routing/routing_tests/online_cross_fetcher_test.cpp index 35732eb4be..2dc7725090 100644 --- a/routing/routing_tests/online_cross_fetcher_test.cpp +++ b/routing/routing_tests/online_cross_fetcher_test.cpp @@ -51,7 +51,7 @@ UNIT_TEST(GarbadgeInputToResponseParser) UNIT_TEST(OnlineAbsentFetcherSingleMwmTest) { - OnlineAbsentCountriesFetcher fetcher([](m2::PointD const & p){return "A";}, [](string const &){return nullptr;}); + OnlineAbsentCountriesFetcher fetcher([](m2::PointD const & p){return "A";}, [](string const &){return false;}); fetcher.GenerateRequest({1, 1}, {2, 2}); vector<string> countries; fetcher.GetAbsentCountries(countries); |