From 74ef1db2263d73d893549cc79418f5be71753d1c Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 20 Jan 2020 17:01:15 +0000 Subject: COMPMID-2819: Fix const interface of IMemoryRegion. Signed-off-by: Georgios Pinitas Change-Id: Ib241c1b7b35645f5702de874004eced806883cd5 Reviewed-on: https://review.mlplatform.org/c/2609 Reviewed-by: Manuel Bottini Comments-Addressed: Arm Jenkins Reviewed-by: Giuseppe Rossini Tested-by: Arm Jenkins --- arm_compute/runtime/IMemoryRegion.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arm_compute/runtime/IMemoryRegion.h') diff --git a/arm_compute/runtime/IMemoryRegion.h b/arm_compute/runtime/IMemoryRegion.h index f4d3bcacca..1a7250bbe3 100644 --- a/arm_compute/runtime/IMemoryRegion.h +++ b/arm_compute/runtime/IMemoryRegion.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -65,7 +65,7 @@ public: * * @return Pointer to the allocated data */ - virtual void *buffer() const = 0; + virtual const void *buffer() const = 0; /** Memory region size accessor * * @return Memory region size -- cgit v1.2.1