aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/IMemoryRegion.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/IMemoryRegion.h')
-rw-r--r--arm_compute/runtime/IMemoryRegion.h4
1 files changed, 2 insertions, 2 deletions
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