03f7f8cb9c
This is required to avoid creation of temporary ImmutableString like so: std::string x; ImmutableString y = ...; StringRef ref = !x.empty() ? x : y; First, temporary ImmutableString is created with x since ImmutableString has constructor to accept std::string. After StringRef gets this, the temporary ImmutableString is destroyed, and ref has dangling pointer. |
||
---|---|---|
.. | ||
http-parser | ||
mruby@22464fe5a0 | ||
neverbleed@84b3ac48f3 | ||
Makefile.am | ||
build_config.rb |