This commit is contained in:
2024-12-10 17:02:22 +03:00
parent ecca565f3f
commit 51c6fb4bba
2 changed files with 8 additions and 8 deletions

View File

@@ -157,7 +157,7 @@ public:
template <typename... CtorArgTs>
AdcGenericDevice& addAttribute(CtorArgTs&&... ctor_args)
{
return addAttribute({std::forward<CtorArgTs>(ctor_args)...});
return addAttribute(AttributeT(std::forward<CtorArgTs>(ctor_args)...));
}