diff --git a/source/ArmarXGui/libraries/RemoteGui/ConfigIntrospection/MakeGuiConfig/MakeGuiConfigStruct.h b/source/ArmarXGui/libraries/RemoteGui/ConfigIntrospection/MakeGuiConfig/MakeGuiConfigStruct.h index a0a4a1c92998234f297374cf0cdae8ec93c00071..d4d211de55d62da7e417430d78e63bc7e5f6639f 100644 --- a/source/ArmarXGui/libraries/RemoteGui/ConfigIntrospection/MakeGuiConfig/MakeGuiConfigStruct.h +++ b/source/ArmarXGui/libraries/RemoteGui/ConfigIntrospection/MakeGuiConfig/MakeGuiConfigStruct.h @@ -107,7 +107,7 @@ namespace armarx::meta::cfg } }(); - hana::for_each(accessors, [&](auto & e) + hana::for_each(accessors, [&, addChildren=std::ref(addChildren)](auto & e) { ARMARX_TRACE_LITE; using elem_det = decltype(armarx::meta::cfg::to_element_detail(e));