diff --git a/src/Mod/Part/Gui/TaskAttacher.cpp b/src/Mod/Part/Gui/TaskAttacher.cpp index 053403e7566c..5f3ebe9b7786 100644 --- a/src/Mod/Part/Gui/TaskAttacher.cpp +++ b/src/Mod/Part/Gui/TaskAttacher.cpp @@ -600,7 +600,7 @@ void TaskAttacher::addToReference(const std::vector& pairs) void TaskAttacher::addToReference(SubAndObjName pair) { - addToReference({ pair }); + addToReference({{{ pair }}}); } void TaskAttacher::onAttachmentOffsetChanged(double /*val*/, int idx)