From patchwork Sun May 19 17:56:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 20075 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id AE987BD78E for ; Sun, 19 May 2024 17:57:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B4BFA6347E; Sun, 19 May 2024 19:56:59 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="tXX7fZF/"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 73A4463469 for ; Sun, 19 May 2024 19:56:58 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7C8F7581 for ; Sun, 19 May 2024 19:56:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1716141407; bh=6KjVALe29udhp9DwH2vSPRueHuWIHoWv/2Wak/Pqiws=; h=From:To:Subject:Date:From; b=tXX7fZF/UO6k3hqeXibyHQeze5eIp9nEz2r5KMOfvhBnFVpxIWYIR/BM/ulKU5sLK uLv/kvzIVmiGGIqr/I4ulO9P/ghvYFlnKQexoWXAjurg6C592DXWVg+dLWENrsotmj y4tUfCxHUj0IVBFIrrahTlaACjoxMFMTDeUcxhEQ= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] ipa: rpi: Make monoSensor() accessor const Date: Sun, 19 May 2024 20:56:50 +0300 Message-ID: <20240519175650.17316-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.44.1 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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(-) base-commit: aee16c06913422a0ac84ee3217f87a9795e3c2d9 diff --git a/src/ipa/rpi/common/ipa_base.h b/src/ipa/rpi/common/ipa_base.h index a95cda1ffe51..1a811beb31f2 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_; }