summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/string.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string.hh b/src/string.hh
index fb48137e..d7e0e56c 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -192,6 +192,7 @@ public:
StringView(const String& str) : m_data{str.data()}, m_length{(int)str.length()} {}
StringView(const char& c) : m_data(&c), m_length(1) {}
StringView(int c) = delete;
+ StringView(Codepoint c) = delete;
[[gnu::always_inline]]
constexpr const char* data() const { return m_data; }