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
This commit is contained in:
parent
3e879e3d3f
commit
14dbb25449
@ -152,7 +152,7 @@ system_error::__init(const error_code& ec, string what_arg)
|
|||||||
what_arg += ": ";
|
what_arg += ": ";
|
||||||
what_arg += ec.message();
|
what_arg += ec.message();
|
||||||
}
|
}
|
||||||
return _VSTD::move(what_arg);
|
return what_arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
system_error::system_error(error_code ec, const string& what_arg)
|
system_error::system_error(error_code ec, const string& what_arg)
|
||||||
|
Loading…
Reference in New Issue
Block a user