From: Duncan P. N. Exon Smith Date: Sat, 20 Feb 2016 18:53:45 +0000 (+0000) Subject: Lex: Remove explicitly deleted copy constructor, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a98ffff45be3a13a09c198de93b740aadb9bd40b;p=clang 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 --- 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;