From 807119d1e0d27ffe50b10ccfc6ee7bf64ea03e74 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 19 May 2024 20:55:31 +0300 Subject: 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 Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi --- src/ipa/rpi/common/ipa_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipa') 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 ¶ms) override; protected: - bool monoSensor() + bool monoSensor() const { return monoSensor_; } -- cgit v1.2.1