diff --git a/include/libcamera/bound_method.h b/include/libcamera/bound_method.h
index 54c40fc52e3b..8ebaadbec887 100644
--- a/include/libcamera/bound_method.h
+++ b/include/libcamera/bound_method.h
@@ -119,7 +119,7 @@ public:
 	bool match(void (*func)(Args...)) const { return func == func_; }
 
 	void activate(Args... args) { (*func_)(args...); }
-	void invoke(Args... args) {}
+	void invoke(Args...) {}
 
 private:
 	void (*func_)(Args...);
