summaryrefslogtreecommitdiffstats
path: root/src/common/sstring.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/sstring.hh')
-rw-r--r--src/common/sstring.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/sstring.hh b/src/common/sstring.hh
index b0fcd9b5c47..7e0d6c6b1e2 100644
--- a/src/common/sstring.hh
+++ b/src/common/sstring.hh
@@ -44,6 +44,7 @@ template <typename char_type, typename Size, Size max_size>
class basic_sstring {
static_assert(
(std::is_same<char_type, char>::value
+ || std::is_same<char_type, char8_t>::value
|| std::is_same<char_type, signed char>::value
|| std::is_same<char_type, unsigned char>::value),
"basic_sstring only supports single byte char types");