| commit | 14dbb25449950502fd4d2573e99c339aad1462a0 | [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 | f1778d7076df7dd14ce7f6976a0064919931bbab | |
| parent | 3e879e3d3f831dc7f475489f0b30dcc8529bf5ef [diff] [blame] |
Fix -Wpessimizing-move warning by remove the call to std::move. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@236265 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/system_error.cpp b/src/system_error.cpp index c032fc0..18f668f 100644 --- a/src/system_error.cpp +++ b/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)