diff --git a/include/libcamera/base/object.h b/include/libcamera/base/object.h index 6cb935a0..a24f84ff 100644 --- a/include/libcamera/base/object.h +++ b/include/libcamera/base/object.h @@ -9,6 +9,7 @@ #include #include +#include #include #include @@ -39,7 +40,7 @@ public: { T *obj = static_cast(this); auto *method = new BoundMethodMember(obj, this, func, type); - return method->activate(args..., true); + return method->activate(std::forward(args)..., true); } Thread *thread() const { return thread_; }