| 208 | #endif // _LIBCPP_HAS_THREADS |
| 209 | |
| 210 | string make_error_str(const error_code& ec, string what_arg) { |
| 211 | if (ec) { |
| 212 | if (!what_arg.empty()) { |
| 213 | what_arg += ": "; |
| 214 | } |
| 215 | what_arg += ec.message(); |
| 216 | } |
| 217 | return what_arg; |
| 218 | } |
| 219 | |
| 220 | string make_error_str(const error_code& ec) { |
| 221 | if (ec) { |
no test coverage detected