aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/GLES_COMPUTE/GCBufferAllocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/GLES_COMPUTE/GCBufferAllocator.cpp')
-rw-r--r--src/runtime/GLES_COMPUTE/GCBufferAllocator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/GLES_COMPUTE/GCBufferAllocator.cpp b/src/runtime/GLES_COMPUTE/GCBufferAllocator.cpp
index 50e3cc7c1c..d8f6867634 100644
--- a/src/runtime/GLES_COMPUTE/GCBufferAllocator.cpp
+++ b/src/runtime/GLES_COMPUTE/GCBufferAllocator.cpp
@@ -29,8 +29,8 @@
#include <cstddef>
-using namespace arm_compute;
-
+namespace arm_compute
+{
void *GCBufferAllocator::allocate(size_t size, size_t alignment)
{
ARM_COMPUTE_UNUSED(alignment);
@@ -48,3 +48,4 @@ void GCBufferAllocator::free(void *ptr)
auto *gl_buffer = reinterpret_cast<GLBufferWrapper *>(ptr);
delete gl_buffer;
}
+} // namespace arm_compute