mirror of
https://github.com/matrix-construct/construct
synced 2024-10-04 06:38:58 +02:00
fixup! fixup! ircd::util: Add string() convenience to 'to_string' an object stream.
This commit is contained in:
parent
7f12f1cce5
commit
50ce286a3c
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ auto
|
|||
string(const T &s)
|
||||
{
|
||||
std::stringstream ss;
|
||||
return (ss << s).str();
|
||||
return static_cast<std::stringstream &>(ss << s).str();
|
||||
}
|
||||
|
||||
inline auto
|
||||
|
|
Loading…
Reference in a new issue