diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-09-16 22:26:52 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-09-16 22:26:52 +0000 |
| commit | 854fa44b6f7a32ff94c2a705691da6d3b703574a (patch) | |
| tree | aaccdba1a8c990ea730287a164e76e70733b424a /contrib/libc++/src/system_error.cpp | |
| parent | 0e1e5c22c20e636264ff1284083c6af7a1b282cb (diff) | |
| parent | 61b9a7258a7693d7f3674a5a1daf7b036ff1d382 (diff) | |
Notes
Diffstat (limited to 'contrib/libc++/src/system_error.cpp')
| -rw-r--r-- | contrib/libc++/src/system_error.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/libc++/src/system_error.cpp b/contrib/libc++/src/system_error.cpp index 9c8adc4f323e..18f668f071cd 100644 --- a/contrib/libc++/src/system_error.cpp +++ b/contrib/libc++/src/system_error.cpp @@ -7,11 +7,14 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_BUILDING_SYSTEM_ERROR #include "__config" + +#define _LIBCPP_BUILDING_SYSTEM_ERROR #include "system_error" -#include "string" + +#include "config_elast.h" #include "cstring" +#include "string" _LIBCPP_BEGIN_NAMESPACE_STD @@ -149,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) |
