0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-05 01:58:35 +02:00

fixup! fixup! ircd::util: Add string() convenience to 'to_string' an object stream.

This commit is contained in:
Jason Volk 2016-10-25 22:41:29 -07:00
parent 7f12f1cce5
commit 50ce286a3c

View file

@ -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