forked from boostorg/system
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>&
|
||||
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
|
||||
|
Reference in New Issue
Block a user