Fix GCC 4.8 compilation

This commit is contained in:
Maxime Coste 2015-01-24 14:36:03 +00:00
parent 16b916056f
commit 79954e89ab

View File

@ -40,7 +40,7 @@ struct StringStorage : UseMemoryDomain<MemoryDomain::SharedString>
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});
}