From patchwork Fri Mar 29 11:13:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 821 Return-Path: Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C9CFC600FB for ; Fri, 29 Mar 2019 12:12:32 +0100 (CET) X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 47B2020015; Fri, 29 Mar 2019 11:12:31 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Fri, 29 Mar 2019 12:13:07 +0100 Message-Id: <20190329111307.16656-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: stream: Qualify 'Camera' friend directive X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2019 11:12:33 -0000 Align the Stream class to all other classes in the code base to use the 'class' qualifier in 'friend' declarations. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- include/libcamera/stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0 diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h index 24407cb65361..970c479627fa 100644 --- a/include/libcamera/stream.h +++ b/include/libcamera/stream.h @@ -29,7 +29,7 @@ public: const StreamConfiguration &configuration() const { return configuration_; } private: - friend Camera; + friend class Camera; BufferPool bufferPool_; StreamConfiguration configuration_;