From patchwork Mon Oct 28 02:22:16 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: 2251 Return-Path: Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 82DB16017C for ; Mon, 28 Oct 2019 03:22:44 +0100 (CET) X-Halon-ID: d146c184-f929-11e9-903a-005056917f90 Authorized-sender: niklas@soderlund.pp.se Received: from localhost.localdomain (unknown [93.2.121.143]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA id d146c184-f929-11e9-903a-005056917f90; Mon, 28 Oct 2019 03:22:41 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Mon, 28 Oct 2019 03:22:16 +0100 Message-Id: <20191028022224.795355-3-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191028022224.795355-1-niklas.soderlund@ragnatech.se> References: <20191028022224.795355-1-niklas.soderlund@ragnatech.se> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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: Mon, 28 Oct 2019 02:22:45 -0000 The Plane class do not need to friend Stream, drop it. Signed-off-by: Niklas Söderlund 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();