*Core: Fixed Value::GetCount -now returns 0 if Value !IsArray

git-svn-id: svn://ultimatepp.org/upp/trunk@4727 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-03-29 09:38:12 +00:00
parent 564efe6dea
commit c907ee86cd

View file

@ -510,7 +510,7 @@ int Value::GetCount() const
if(t == VALUEMAP_V)
return ((ValueMap::Data *)ptr())->value.GetCount();
}
return ErrorValue();
return 0;
}
const Value& Value::operator[](int i) const