From 3d4c8127a7a181db9c47b369614a19c9540d142f Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Jun 2017 14:07:45 +0000 Subject: [clang-format] Fix a clang-tidy warning, NFC llvm-svn: 306409 --- clang/lib/Format/NamespaceEndCommentsFixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib') diff --git a/clang/lib/Format/NamespaceEndCommentsFixer.cpp b/clang/lib/Format/NamespaceEndCommentsFixer.cpp index 1bbb41f757a..85b70b8c0a7 100644 --- a/clang/lib/Format/NamespaceEndCommentsFixer.cpp +++ b/clang/lib/Format/NamespaceEndCommentsFixer.cpp @@ -174,7 +174,7 @@ tooling::Replacements NamespaceEndCommentsFixer::analyze( AllNamespaceNames = "::" + NamespaceName + AllNamespaceNames; continue; } - NamespaceName += std::move(AllNamespaceNames); + NamespaceName += AllNamespaceNames; CompactedNamespacesCount = 0; AllNamespaceNames = std::string(); } -- cgit v1.2.3