mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 13:07:13 +02:00
Merge branch 'fix_error_code_wostream' of https://github.com/MarcelRaad/system into feature/pr-76
This commit is contained in:
@ -604,7 +604,7 @@ public:
|
|||||||
inline friend std::basic_ostream<Ch, Tr>&
|
inline friend std::basic_ostream<Ch, Tr>&
|
||||||
operator<< (std::basic_ostream<Ch, Tr>& os, error_code const & ec)
|
operator<< (std::basic_ostream<Ch, Tr>& os, error_code const & ec)
|
||||||
{
|
{
|
||||||
return os << ec.to_string();
|
return os << ec.to_string().c_str();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string what() const
|
std::string what() const
|
||||||
|
Reference in New Issue
Block a user