summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Format/NamespaceEndCommentsFixer.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}
OpenPOWER on IntegriCloud