summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-05-19 20:55:31 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-05-27 14:34:38 +0300
commit807119d1e0d27ffe50b10ccfc6ee7bf64ea03e74 (patch)
treec9cab425e7eeb5e146ac42b2ff9e589b94765e11 /src/ipa
parent168bb3c97c5f338486251ae7752bccd4e61ffcc0 (diff)
ipa: rpi: Make monoSensor() accessor const
The ipa::RPi::IpaBase::monoSensor() function doesn't modify the class. Make it const. Fixes: 2031e2f29014 ("ipa: rpi: Add accessor function for monoSensor_") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/rpi/common/ipa_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/rpi/common/ipa_base.h b/src/ipa/rpi/common/ipa_base.h
index a95cda1f..1a811beb 100644
--- a/src/ipa/rpi/common/ipa_base.h
+++ b/src/ipa/rpi/common/ipa_base.h
@@ -49,7 +49,7 @@ public:
void processStats(const ProcessParams &params) override;
protected:
- bool monoSensor()
+ bool monoSensor() const
{
return monoSensor_;
}