diff --git a/generator/cities_boundaries_builder.cpp b/generator/cities_boundaries_builder.cpp index e6e70a5b59..62556b5b50 100644 --- a/generator/cities_boundaries_builder.cpp +++ b/generator/cities_boundaries_builder.cpp @@ -65,21 +65,22 @@ bool ParseFeatureIdToTestIdMapping(string const & path, map bool BuildCitiesBoundaries(string const & dataPath, BoundariesTable & table, MappingReader && reader) { - auto const localities = GetLocalities(dataPath); + ::base::Cancellable const cancellable; + auto const localities = GetLocalities(dataPath, cancellable); auto mapping = reader(); if (!mapping) diff --git a/search/cities_boundaries_table.cpp b/search/cities_boundaries_table.cpp index 07a2e3d8bf..295e0d4796 100644 --- a/search/cities_boundaries_table.cpp +++ b/search/cities_boundaries_table.cpp @@ -44,7 +44,8 @@ bool CitiesBoundariesTable::Load() return true; MwmContext context(move(handle)); - auto const localities = CategoriesCache(LocalitiesSource{}, ::base::Cancellable{}).Get(context); + ::base::Cancellable const cancellable; + auto const localities = CategoriesCache(LocalitiesSource{}, cancellable).Get(context); auto const & cont = context.m_value.m_cont;