diff --git a/src/string.hh b/src/string.hh index dbb9a58d..e735444e 100644 --- a/src/string.hh +++ b/src/string.hh @@ -66,6 +66,8 @@ public: char front() const { return m_content.front(); } char back() const { return m_content.back(); } + char& front() { return m_content.front(); } + char& back() { return m_content.back(); } size_t hash() const { return std::hash()(m_content); }