From 40f51a63c8e7258db15269427ae4fe1ad199c550 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Sat, 21 Nov 2020 03:04:18 +0000 Subject: Update default C++ standard to C++14 (3RDPARTY_UPDATE) Resolves: COMPMID-3849 Signed-off-by: Georgios Pinitas Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins --- arm_compute/runtime/MemoryRegion.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'arm_compute/runtime/MemoryRegion.h') diff --git a/arm_compute/runtime/MemoryRegion.h b/arm_compute/runtime/MemoryRegion.h index 63feabd281..6408deceaa 100644 --- a/arm_compute/runtime/MemoryRegion.h +++ b/arm_compute/runtime/MemoryRegion.h @@ -27,7 +27,6 @@ #include "arm_compute/runtime/IMemoryRegion.h" #include "arm_compute/core/Error.h" -#include "support/MemorySupport.h" #include @@ -59,7 +58,7 @@ public: if(alignment != 0) { void *aligned_ptr = _mem.get(); - support::cpp11::align(alignment, size, aligned_ptr, space); + std::align(alignment, size, aligned_ptr, space); _ptr = aligned_ptr; } } @@ -94,7 +93,7 @@ public: { if(_ptr != nullptr && (offset < _size) && (_size - offset >= size)) { - return support::cpp14::make_unique(static_cast(_ptr) + offset, size); + return std::make_unique(static_cast(_ptr) + offset, size); } else { -- cgit v1.2.1