{"id":2251,"url":"https://patchwork.libcamera.org/api/1.1/patches/2251/?format=json","web_url":"https://patchwork.libcamera.org/patch/2251/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20191028022224.795355-3-niklas.soderlund@ragnatech.se>","date":"2019-10-28T02:22:16","name":"[libcamera-devel,02/10] libcamera: buffer: Plane: Drop friend statement","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"5f536fc4333ecfa1dc62005f5d442556e5b88987","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/1.1/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/2251/mbox/","series":[{"id":560,"url":"https://patchwork.libcamera.org/api/1.1/series/560/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=560","date":"2019-10-28T02:22:14","name":"libcamera: Fixes found while working on new buffer API","version":1,"mbox":"https://patchwork.libcamera.org/series/560/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/2251/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/2251/checks/","tags":{},"headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net\n\t[195.74.38.227])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 82DB16017C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Oct 2019 03:22:44 +0100 (CET)","from localhost.localdomain (unknown [93.2.121.143])\n\tby bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid d146c184-f929-11e9-903a-005056917f90;\n\tMon, 28 Oct 2019 03:22:41 +0100 (CET)"],"X-Halon-ID":"d146c184-f929-11e9-903a-005056917f90","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","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","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 02/10] libcamera: buffer: Plane: Drop\n\tfriend statement","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Mon, 28 Oct 2019 02:22:45 -0000"},"content":"The Plane class do not need to friend Stream, drop it.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n include/libcamera/buffer.h | 2 --\n 1 file changed, 2 deletions(-)","diff":"diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h\nindex e14c9bd390a13bfc..d7784d9d24ab3f41 100644\n--- a/include/libcamera/buffer.h\n+++ b/include/libcamera/buffer.h\n@@ -29,8 +29,6 @@ public:\n \tunsigned int length() const { return length_; }\n \n private:\n-\tfriend class Stream;\n-\n \tint mmap();\n \tint munmap();\n \n","prefixes":["libcamera-devel","02/10"]}