From a98ffff45be3a13a09c198de93b740aadb9bd40b Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Sat, 20 Feb 2016 18:53:45 +0000 Subject: [PATCH] Lex: Remove explicitly deleted copy constructor, NFC `std::unique_ptr` already deletes these, so there's no reason for the boiler-plate in HeaderMap. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261442 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Lex/HeaderMap.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/clang/Lex/HeaderMap.h b/include/clang/Lex/HeaderMap.h index 1443781ac3..08005dfa82 100644 --- a/include/clang/Lex/HeaderMap.h +++ b/include/clang/Lex/HeaderMap.h @@ -30,9 +30,6 @@ namespace clang { /// symlinks to files. Its advantages are that it is dense and more efficient /// to create and process than a directory of symlinks. class HeaderMap { - HeaderMap(const HeaderMap &) = delete; - void operator=(const HeaderMap &) = delete; - std::unique_ptr FileBuffer; bool NeedsBSwap; -- 2.50.1