Performance fix in IsTypeConformed().

This commit is contained in:
Vladimir Byko-Ianko 2016-01-19 12:05:34 +03:00
parent 2cef132f05
commit 9baad25537

View file

@ -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;