Fix GCC 4.8 compilation
This commit is contained in:
parent
16b916056f
commit
79954e89ab
|
@ -40,7 +40,7 @@ struct StringStorage : UseMemoryDomain<MemoryDomain::SharedString>
|
||||||
friend void dec_ref_count(StringStorage* s) { if (--s->refcount == 0) StringStorage::destroy(s); }
|
friend void dec_ref_count(StringStorage* s) { if (--s->refcount == 0) StringStorage::destroy(s); }
|
||||||
};
|
};
|
||||||
|
|
||||||
inline ref_ptr<StringStorage> operator""_ss(const char* ptr, size_t len)
|
inline ref_ptr<StringStorage> operator"" _ss(const char* ptr, size_t len)
|
||||||
{
|
{
|
||||||
return StringStorage::create({ptr, (int)len});
|
return StringStorage::create({ptr, (int)len});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user