mirror of
https://github.com/matrix-construct/construct
synced 2024-09-09 02:01:32 +02:00
ircd::util: Eliminate false -Wnull-dereference seen with g++ 6.3.0 20170519.
This commit is contained in:
parent
587cd4b931
commit
9ebf8b0b73
1 changed files with 2 additions and 1 deletions
|
@ -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