diff --git a/src/App/PropertyLinks.cpp b/src/App/PropertyLinks.cpp index fdcfd5517f..75b9d6464b 100644 --- a/src/App/PropertyLinks.cpp +++ b/src/App/PropertyLinks.cpp @@ -1955,7 +1955,7 @@ std::vector updateLinkSubs(const App::DocumentObject* obj, std::vector res; for (auto it = subs.begin(); it != subs.end(); ++it) { const auto& sub = *it; - auto new_sub = (*f)(obj, sub.c_str(), std::forward(args)...); + auto new_sub = (*f)(obj, sub.c_str(), args...); if (new_sub.size()) { if (res.empty()) { res.reserve(subs.size());