From 294aa79c0120c44a73f310cd74755b91307bef8a Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 2 Dec 2015 17:07:30 +0000 Subject: [PATCH] Making the deleted copy constructor parameter const; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254520 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Sema/AttributeList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/Sema/AttributeList.h b/include/clang/Sema/AttributeList.h index 95968e2100..e32781d35f 100644 --- a/include/clang/Sema/AttributeList.h +++ b/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) { -- 2.40.0