From: Aaron Ballman Date: Wed, 2 Dec 2015 17:07:30 +0000 (+0000) Subject: Making the deleted copy constructor parameter const; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=294aa79c0120c44a73f310cd74755b91307bef8a;p=clang 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 --- 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) {