+ fix clang warning: -Woverloaded-virtual
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user