diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-12-06 11:53:03 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:42:17 +0000 |
commit | 631c41a4e3645a948b0f597caa77e8fa91ca0efc (patch) | |
tree | 164fd113818b8e890fc16bad97240056cb71e747 /src/runtime/TensorAllocator.cpp | |
parent | 57f249b08fd65af761d5c8bfe62de117d67a14c7 (diff) | |
download | ComputeLibrary-631c41a4e3645a948b0f597caa77e8fa91ca0efc.tar.gz |
COMPMID-556: Rename Error to Status and inverse logic
Change-Id: Ib57d4f7177cc6179302bda7ad870acb8bd3825f5
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/112115
Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
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) |