From c66fa7c7bfd90e0802ef67243306bded0ccf56b5 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 1 Aug 2015 03:08:11 +0100 Subject: [PATCH] forgot inline --- ostd/string.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ostd/string.hh b/ostd/string.hh index a596f8e..28cf5f1 100644 --- a/ostd/string.hh +++ b/ostd/string.hh @@ -537,11 +537,11 @@ using String = StringBase; /* string literals */ inline namespace literals { inline namespace string_literals { - String operator "" _s(const char *str, Size len) { + inline String operator "" _s(const char *str, Size len) { return String(ConstCharRange(str, len)); } - ConstCharRange operator "" _S(const char *str, Size len) { + inline ConstCharRange operator "" _S(const char *str, Size len) { return ConstCharRange(str, len); } } }