diff options
Diffstat (limited to 'src/runtime/TensorAllocator.cpp')
-rw-r--r-- | src/runtime/TensorAllocator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/TensorAllocator.cpp b/src/runtime/TensorAllocator.cpp index 25bd479c84..a0d41b28ee 100644 --- a/src/runtime/TensorAllocator.cpp +++ b/src/runtime/TensorAllocator.cpp @@ -152,14 +152,14 @@ void TensorAllocator::free() info().set_is_resizable(true); } -arm_compute::Error TensorAllocator::import_memory(Memory memory) +arm_compute::Status TensorAllocator::import_memory(Memory memory) { ARM_COMPUTE_RETURN_ERROR_ON(memory.buffer() == nullptr); ARM_COMPUTE_RETURN_ERROR_ON(_associated_memory_group != nullptr); _memory = memory; info().set_is_resizable(false); - return Error{}; + return Status{}; } void TensorAllocator::set_associated_memory_group(MemoryGroup *associated_memory_group) |