forked from organicmaps/organicmaps-tmp
[generator:regions] Fi warning: local variable 'isoCode' will be copied despite being returned by name [-Wreturn-std-move]
This commit is contained in:
parent
b07cb62333
commit
9ac133be0b
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ boost::optional<std::string> Region::GetIsoCode() const
|
|||
{
|
||||
if (m_placeLabel)
|
||||
{
|
||||
if (auto && isoCode = m_placeLabel->GetIsoCode())
|
||||
if (auto isoCode = m_placeLabel->GetIsoCode())
|
||||
return isoCode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue