diff --git a/src/shared_string.hh b/src/shared_string.hh index b8db3c89..3ed571e8 100644 --- a/src/shared_string.hh +++ b/src/shared_string.hh @@ -40,7 +40,7 @@ struct StringStorage : UseMemoryDomain friend void dec_ref_count(StringStorage* s) { if (--s->refcount == 0) StringStorage::destroy(s); } }; -inline ref_ptr operator""_ss(const char* ptr, size_t len) +inline ref_ptr operator"" _ss(const char* ptr, size_t len) { return StringStorage::create({ptr, (int)len}); }