Fixed #7509 (ValueType: wrong type for container element - std::array)

This commit is contained in:
Daniel Marjamäki 2016-05-24 09:07:38 +02:00
parent 397480f929
commit 684966f674
1 changed files with 2 additions and 0 deletions

View File

@ -4081,6 +4081,8 @@ static void setValueType(Token *tok, const ValueType &valuetype, bool cpp, Value
static void setValueType(Token *tok, const Variable &var, bool cpp, ValueType::Sign defaultSignedness, const Library* lib)
{
if (var.isStlType())
return;
ValueType valuetype;
valuetype.pointer = var.dimensions().size();
valuetype.typeScope = var.typeScope();