libcamera: bound_method: Fix compiler warning due to unused arguments

The BoundStaticMethod::invoke() method is never used, but must still be
implemented as the base class defines it as pure virtual. As it doesn't
use its arguments, the compiler generates a warning. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart 2019-10-26 21:58:52 +03:00
parent 6a832d114e
commit 9d66ffc085

View file

@ -119,7 +119,7 @@ public:
bool match(void (*func)(Args...)) const { return func == func_; } bool match(void (*func)(Args...)) const { return func == func_; }
void activate(Args... args) { (*func_)(args...); } void activate(Args... args) { (*func_)(args...); }
void invoke(Args... args) {} void invoke(Args...) {}
private: private:
void (*func_)(Args...); void (*func_)(Args...);