summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2015-04-30 21:47:28 +0000
committerRichard Trieu <rtrieu@google.com>2015-04-30 21:47:28 +0000
commit1c545baf96c94360fe5e9fc4ba238631fb61a234 (patch)
tree76563e4a17e2ebc4a101577ca96f540e19a8373d /libcxx/src
parent1587432d1f3a5b1fe89b4e12cbf8265c86da9695 (diff)
downloadbcm5719-llvm-1c545baf96c94360fe5e9fc4ba238631fb61a234.tar.gz
bcm5719-llvm-1c545baf96c94360fe5e9fc4ba238631fb61a234.zip
Fix -Wpessimizing-move warning by remove the call to std::move.
llvm-svn: 236265
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/system_error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp
index c032fc07b38..18f668f071c 100644
--- a/libcxx/src/system_error.cpp
+++ b/libcxx/src/system_error.cpp
@@ -152,7 +152,7 @@ system_error::__init(const error_code& ec, string what_arg)
what_arg += ": ";
what_arg += ec.message();
}
- return _VSTD::move(what_arg);
+ return what_arg;
}
system_error::system_error(error_code ec, const string& what_arg)
OpenPOWER on IntegriCloud