aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/LutAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/LutAllocator.h')
-rw-r--r--arm_compute/runtime/LutAllocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm_compute/runtime/LutAllocator.h b/arm_compute/runtime/LutAllocator.h
index 077b4693af..11589daa7e 100644
--- a/arm_compute/runtime/LutAllocator.h
+++ b/arm_compute/runtime/LutAllocator.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2018 ARM Limited.
+ * Copyright (c) 2016-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -55,7 +55,7 @@ protected:
void unlock() override;
private:
- std::unique_ptr<uint8_t[]> _buffer; /**< CPU memory allocation. */
+ mutable std::vector<uint8_t> _buffer; /**< CPU memory allocation. */
};
}
#endif /* __ARM_COMPUTE_LUTALLOCATOR_H__ */