summaryrefslogtreecommitdiff
path: root/src/shared_string.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-01-24 14:36:03 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-01-24 14:36:03 +0000
commit79954e89ab1bb41295501159c72708b24303eb77 (patch)
treec0dc718047c3bac834124ad74d0cbf7bc7ad30ce /src/shared_string.hh
parent16b916056fe41b540d6cb97c1a276d28243e4e9d (diff)
Fix GCC 4.8 compilation
Diffstat (limited to 'src/shared_string.hh')
-rw-r--r--src/shared_string.hh2
1 files changed, 1 insertions, 1 deletions
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<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});
}