diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-05-19 20:55:31 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-05-27 14:34:38 +0300 |
commit | 807119d1e0d27ffe50b10ccfc6ee7bf64ea03e74 (patch) | |
tree | c9cab425e7eeb5e146ac42b2ff9e589b94765e11 | |
parent | 168bb3c97c5f338486251ae7752bccd4e61ffcc0 (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>
-rw-r--r-- | src/ipa/rpi/common/ipa_base.h | 2 |
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 ¶ms) override; protected: - bool monoSensor() + bool monoSensor() const { return monoSensor_; } |