+ fix clang warning: -Woverloaded-virtual

This commit is contained in:
wmayer
2015-10-02 20:42:16 +02:00
parent 4b00fe91ab
commit e4768c1c75
12 changed files with 36 additions and 36 deletions

View File

@@ -1007,7 +1007,7 @@ Expression * VariableExpression::eval() const
if (!parent->isDerivedFrom(App::DocumentObject::getClassTypeId()))
throw ExpressionError("Property must belong to a document object.");
boost::any value = prop->getValue(var);
boost::any value = prop->getPathValue(var);
if (value.type() == typeid(Quantity)) {
Quantity qvalue = boost::any_cast<Quantity>(value);