diff options
-rw-r--r-- | clang/include/clang/Sema/AttributeList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Sema/AttributeList.h b/clang/include/clang/Sema/AttributeList.h index 95968e21006..e32781d35fc 100644 --- a/clang/include/clang/Sema/AttributeList.h +++ b/clang/include/clang/Sema/AttributeList.h @@ -557,7 +557,7 @@ public: /// Create a new pool for a factory. AttributePool(AttributeFactory &factory) : Factory(factory), Head(nullptr) {} - AttributePool(AttributePool &) = delete; + AttributePool(const AttributePool &) = delete; /// Move the given pool's allocations to this pool. AttributePool(AttributePool &&pool) : Factory(pool.Factory), Head(pool.Head) { |