mirror of
https://github.com/matrix-construct/construct
synced 2024-07-31 14:54:40 +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)
|
string(const T &s)
|
||||||
{
|
{
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
return static_cast<std::stringstream &>(ss << s).str();
|
ss << s;
|
||||||
|
return ss.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline auto
|
inline auto
|
||||||
|
|
Loading…
Reference in a new issue