From patchwork Wed Nov 20 01:54:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 2333 Return-Path: Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1B2F7617A0 for ; Wed, 20 Nov 2019 02:55:29 +0100 (CET) X-Halon-ID: d3534330-0b38-11ea-a00b-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (p54ac5865.dip0.t-ipconnect.de [84.172.88.101]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id d3534330-0b38-11ea-a00b-005056917a89; Wed, 20 Nov 2019 02:55:28 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Wed, 20 Nov 2019 02:54:58 +0100 Message-Id: <20191120015506.362440-3-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191120015506.362440-1-niklas.soderlund@ragnatech.se> References: <20191120015506.362440-1-niklas.soderlund@ragnatech.se> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 02/10] libcamera: buffer: Plane: Drop friend statement 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: , X-List-Received-Date: Wed, 20 Nov 2019 01:55:29 -0000 The Plane class do not need to friend Stream, drop it. Signed-off-by: Niklas Söderlund Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- include/libcamera/buffer.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h index e14c9bd390a13bfc..d7784d9d24ab3f41 100644 --- a/include/libcamera/buffer.h +++ b/include/libcamera/buffer.h @@ -29,8 +29,6 @@ public: unsigned int length() const { return length_; } private: - friend class Stream; - int mmap(); int munmap();