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:
parent
6a832d114e
commit
9d66ffc085
1 changed files with 1 additions and 1 deletions
|
@ -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...);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue