summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/algorithm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/controller/algorithm.cpp')
-rw-r--r--src/ipa/raspberrypi/controller/algorithm.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/ipa/raspberrypi/controller/algorithm.cpp b/src/ipa/raspberrypi/controller/algorithm.cpp
index 55cb2012..1b80e296 100644
--- a/src/ipa/raspberrypi/controller/algorithm.cpp
+++ b/src/ipa/raspberrypi/controller/algorithm.cpp
@@ -9,28 +9,24 @@
using namespace RPi;
-void Algorithm::Read(boost::property_tree::ptree const &params)
+void Algorithm::Read([[maybe_unused]] boost::property_tree::ptree const &params)
{
- (void)params;
}
void Algorithm::Initialise() {}
-void Algorithm::SwitchMode(CameraMode const &camera_mode, Metadata *metadata)
+void Algorithm::SwitchMode([[maybe_unused]] CameraMode const &camera_mode,
+ [[maybe_unused]] Metadata *metadata)
{
- (void)camera_mode;
- (void)metadata;
}
-void Algorithm::Prepare(Metadata *image_metadata)
+void Algorithm::Prepare([[maybe_unused]] Metadata *image_metadata)
{
- (void)image_metadata;
}
-void Algorithm::Process(StatisticsPtr &stats, Metadata *image_metadata)
+void Algorithm::Process([[maybe_unused]] StatisticsPtr &stats,
+ [[maybe_unused]] Metadata *image_metadata)
{
- (void)stats;
- (void)image_metadata;
}
// For registering algorithms with the system: