Zhihao Yuan noted that there were a few unneeded statements. Eliminated the unnecessary ones, and commented the ones that are there for non-obvious reasons such as to help things limp along in C++03 language mode.
llvm-svn: 189039
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 179b1f8cf2f4b9dc8290c6753bf7626f48a81321
diff --git a/include/algorithm b/include/algorithm
index 053b809..03b872a 100644
--- a/include/algorithm
+++ b/include/algorithm
@@ -829,7 +829,7 @@
{
for (; __first != __last; ++__first)
__f(*__first);
- return _VSTD::move(__f);
+ return _VSTD::move(__f); // explicitly moved for (emulated) C++03
}
// find