aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/Allocator.cpp
diff options
context:
space:
mode:
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 7f0e37495e..d9de11ebbf 100644
--- a/src/runtime/Allocator.cpp
+++ b/src/runtime/Allocator.cpp
@@ -44,6 +44,5 @@ void Allocator::free(void *ptr)
std::unique_ptr<IMemoryRegion> Allocator::make_region(size_t size, size_t alignment)
{
- ARM_COMPUTE_UNUSED(alignment);
- return arm_compute::support::cpp14::make_unique<MemoryRegion>(size);
+ return arm_compute::support::cpp14::make_unique<MemoryRegion>(size, alignment);
} \ No newline at end of file