aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/Allocator.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-11-21 03:04:18 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-12-01 10:41:54 +0000
commit40f51a63c8e7258db15269427ae4fe1ad199c550 (patch)
tree353253a41863966995a45556731e7181a643c003 /src/runtime/Allocator.cpp
parent327800401c4185d98fcc01b9c9efbc038a4228ed (diff)
downloadComputeLibrary-40f51a63c8e7258db15269427ae4fe1ad199c550.tar.gz
Update default C++ standard to C++14
(3RDPARTY_UPDATE) Resolves: COMPMID-3849 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/Allocator.cpp')
-rw-r--r--src/runtime/Allocator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/Allocator.cpp b/src/runtime/Allocator.cpp
index 12478be482..ef7c62d64b 100644
--- a/src/runtime/Allocator.cpp
+++ b/src/runtime/Allocator.cpp
@@ -25,7 +25,6 @@
#include "arm_compute/runtime/MemoryRegion.h"
#include "arm_compute/core/Error.h"
-#include "support/MemorySupport.h"
#include <cstddef>
@@ -44,5 +43,5 @@ void Allocator::free(void *ptr)
std::unique_ptr<IMemoryRegion> Allocator::make_region(size_t size, size_t alignment)
{
- return arm_compute::support::cpp14::make_unique<MemoryRegion>(size, alignment);
+ return std::make_unique<MemoryRegion>(size, alignment);
}