From: Krasimir Georgiev Date: Tue, 27 Jun 2017 14:07:45 +0000 (+0000) Subject: [clang-format] Fix a clang-tidy warning, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c18c00d5695bfdf63e28b05af2e26cd324891ef5;p=clang [clang-format] Fix a clang-tidy warning, NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306409 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/NamespaceEndCommentsFixer.cpp b/lib/Format/NamespaceEndCommentsFixer.cpp index 1bbb41f757..85b70b8c0a 100644 --- a/lib/Format/NamespaceEndCommentsFixer.cpp +++ b/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(); }