diff --git a/generator/regions/region.cpp b/generator/regions/region.cpp index 64ffa84340..04460cbaa2 100644 --- a/generator/regions/region.cpp +++ b/generator/regions/region.cpp @@ -94,7 +94,7 @@ boost::optional Region::GetIsoCode() const { if (m_placeLabel) { - if (auto && isoCode = m_placeLabel->GetIsoCode()) + if (auto isoCode = m_placeLabel->GetIsoCode()) return isoCode; }