aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/GLES_COMPUTE/GCBufferAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/GLES_COMPUTE/GCBufferAllocator.h')
-rw-r--r--arm_compute/runtime/GLES_COMPUTE/GCBufferAllocator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm_compute/runtime/GLES_COMPUTE/GCBufferAllocator.h b/arm_compute/runtime/GLES_COMPUTE/GCBufferAllocator.h
index 8fa13e59a6..674297a63c 100644
--- a/arm_compute/runtime/GLES_COMPUTE/GCBufferAllocator.h
+++ b/arm_compute/runtime/GLES_COMPUTE/GCBufferAllocator.h
@@ -34,7 +34,7 @@
namespace arm_compute
{
/** Default GLES buffer allocator implementation */
-class GCBufferAllocator : public IAllocator
+class GCBufferAllocator final : public IAllocator
{
public:
/** Default constructor */
@@ -43,6 +43,7 @@ public:
// Inherited methods overridden:
void *allocate(size_t size, size_t alignment) override;
void free(void *ptr) override;
+ std::unique_ptr<IMemoryRegion> make_region(size_t size, size_t alignment) override;
};
} // namespace arm_compute
#endif /*__ARM_COMPUTE_GCBUFFERALLOCATOR_H__ */