]> granicus.if.org Git - clang/commitdiff
Making the deleted copy constructor parameter const; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Wed, 2 Dec 2015 17:07:30 +0000 (17:07 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 2 Dec 2015 17:07:30 +0000 (17:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254520 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/AttributeList.h

index 95968e21006ac816436dd537a4965d4dff49e78a..e32781d35fc73b34ae03c2585c56cc840edb5e05 100644 (file)
@@ -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) {