0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-06 10:38:37 +02:00

ircd::util: Eliminate false -Wnull-dereference seen with g++ 6.3.0 20170519.

This commit is contained in:
Jason Volk 2018-02-18 01:20:39 -08:00
parent 587cd4b931
commit 9ebf8b0b73

View file

@ -143,7 +143,8 @@ auto
string(const T &s)
{
std::stringstream ss;
return static_cast<std::stringstream &>(ss << s).str();
ss << s;
return ss.str();
}
inline auto