From 75df3c71397ffdd61568b19157d327284c6d3a7f Mon Sep 17 00:00:00 2001 From: Hirokazu Honda Date: Tue, 31 Aug 2021 06:02:24 +0900 Subject: libcamera: mapped_framebuffer: Rename maps() to planes() MappedFrameBuffer::maps() returns planes_. This renames the function name to planes(). Signed-off-by: Hirokazu Honda Reviewed-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Signed-off-by: Laurent Pinchart --- include/libcamera/internal/mapped_framebuffer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/libcamera/internal/mapped_framebuffer.h b/include/libcamera/internal/mapped_framebuffer.h index 42479541..70ffbcbe 100644 --- a/include/libcamera/internal/mapped_framebuffer.h +++ b/include/libcamera/internal/mapped_framebuffer.h @@ -30,8 +30,7 @@ public: bool isValid() const { return error_ == 0; } int error() const { return error_; } - /* \todo rename to planes(). */ - const std::vector &maps() const { return planes_; } + const std::vector &planes() const { return planes_; } protected: MappedBuffer(); -- cgit v1.2.1