diff options
Diffstat (limited to 'test/hotplug-cameras.cpp')
-rw-r--r-- | test/hotplug-cameras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hotplug-cameras.cpp b/test/hotplug-cameras.cpp index 6a94535f..7d551eeb 100644 --- a/test/hotplug-cameras.cpp +++ b/test/hotplug-cameras.cpp @@ -26,12 +26,12 @@ using namespace libcamera; class HotplugTest : public Test { protected: - void cameraAddedHandler(std::shared_ptr<Camera> cam) + void cameraAddedHandler([[maybe_unused]] std::shared_ptr<Camera> cam) { cameraAdded_ = true; } - void cameraRemovedHandler(std::shared_ptr<Camera> cam) + void cameraRemovedHandler([[maybe_unused]] std::shared_ptr<Camera> cam) { cameraRemoved_ = true; } |