diff --git a/libclc/utils/libclc-remangler/LibclcRemangler.cpp b/libclc/utils/libclc-remangler/LibclcRemangler.cpp index fe4fd0609750b..f9006d32c4db4 100644 --- a/libclc/utils/libclc-remangler/LibclcRemangler.cpp +++ b/libclc/utils/libclc-remangler/LibclcRemangler.cpp @@ -105,6 +105,8 @@ class BumpPointerAllocator { public: BumpPointerAllocator() : BlockList(new(InitialBuffer) BlockMeta{nullptr, 0}) {} + BumpPointerAllocator(const BumpPointerAllocator &) = delete; + BumpPointerAllocator &operator=(const BumpPointerAllocator &) = delete; void *allocate(size_t N) { N = (N + 15u) & ~15u;