commit | 1c545baf96c94360fe5e9fc4ba238631fb61a234 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Thu Apr 30 21:47:28 2015 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Thu Apr 30 21:47:28 2015 +0000 |
tree | 76563e4a17e2ebc4a101577ca96f540e19a8373d | |
parent | 1587432d1f3a5b1fe89b4e12cbf8265c86da9695 [diff] [blame] |
Fix -Wpessimizing-move warning by remove the call to std::move. llvm-svn: 236265
diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp index c032fc0..18f668f 100644 --- a/libcxx/src/system_error.cpp +++ b/libcxx/src/system_error.cpp
@@ -152,7 +152,7 @@ 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)