From 7da3a5c85d60f43f0814ec3ac9c45797d8d103be Mon Sep 17 00:00:00 2001 From: Sergey Magidovich Date: Tue, 20 Jun 2017 19:07:35 +0300 Subject: [PATCH] Fix build. --- generator/region_meta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/region_meta.cpp b/generator/region_meta.cpp index 11f2c5153f..9b699a070d 100644 --- a/generator/region_meta.cpp +++ b/generator/region_meta.cpp @@ -54,7 +54,7 @@ bool ReadRegionDataImpl(std::string const & countryName, RegionData & data) data.Set(RegionData::Type::RD_TIMEZONE, timezone); bool allow_housenames; - FromJSONObjectOptionalField(jsonData, "housenames", allow_housenames, false); + FromJSONObjectOptionalField(jsonData, "housenames", allow_housenames); if (allow_housenames) data.Set(RegionData::Type::RD_ALLOW_HOUSENAMES, "y");