forked from organicmaps/organicmaps
Performance fix in IsTypeConformed().
This commit is contained in:
parent
2cef132f05
commit
9baad25537
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ bool IsTypeConformed(uint32_t type, vector<string> const & path)
|
|||
ASSERT(p, ());
|
||||
|
||||
uint8_t val = 0, i = 0;
|
||||
for (auto const n : path)
|
||||
for (auto const & n : path)
|
||||
{
|
||||
if (!ftype::GetValue(type, i, val))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue