App: Coverity fixes
This commit is contained in:
committed by
Benjamin Nauck
parent
d850e87567
commit
c1ada6bc40
@@ -1162,7 +1162,7 @@ void DocumentObject::Save(Base::Writer& writer) const
|
||||
|
||||
void DocumentObject::setExpression(const ObjectIdentifier& path, std::shared_ptr<Expression> expr)
|
||||
{
|
||||
ExpressionEngine.setValue(path, expr);
|
||||
ExpressionEngine.setValue(path, std::move(expr));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user