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:
parent
587cd4b931
commit
9ebf8b0b73
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue