diff --git a/core/sstring.hh b/core/sstring.hh index ee897e2a96..b127e5ae96 100644 --- a/core/sstring.hh +++ b/core/sstring.hh @@ -243,6 +243,12 @@ string_type to_sstring(unsigned long long value, void* = nullptr) { return to_sstring_sprintf(value, "%llu"); } +template +inline +string_type to_sstring(const char* value, void* = nullptr) { + return string_type(value); +} + template inline std::ostream& operator<<(std::ostream& os, const std::vector& v) {