diff options
Diffstat (limited to 'src/runtime/Allocator.cpp')
-rw-r--r-- | src/runtime/Allocator.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/Allocator.cpp b/src/runtime/Allocator.cpp index 12478be482..eca712dbf0 100644 --- a/src/runtime/Allocator.cpp +++ b/src/runtime/Allocator.cpp @@ -22,10 +22,9 @@ * SOFTWARE. */ #include "arm_compute/runtime/Allocator.h" -#include "arm_compute/runtime/MemoryRegion.h" #include "arm_compute/core/Error.h" -#include "support/MemorySupport.h" +#include "arm_compute/runtime/MemoryRegion.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); } |