Warning fixes.

This commit is contained in:
Vladimir Byko-Ianko 2018-10-01 11:34:40 +03:00 committed by Tatiana Yan
parent 7fe7f8db7a
commit 7cff0cf8ea
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ class RegionDataProxy;
namespace regions
{
class City;
struct City;
// This is a helper class that is needed to represent the region.
// With this view, further processing is simplified.

View file

@ -179,7 +179,7 @@ RegionsBuilder::Regions ReadData(feature::GenerateInfo const & genInfo,
RegionsFixer fixer(regions, pointCitiesMap);
regions = fixer.FixRegions();
FilterRegions(regions);
return std::move(regions);
return regions;
}
} // namespace