diff --git a/src/util/AllocatedString.hxx b/src/util/AllocatedString.hxx index 43ba8f449..477639802 100644 --- a/src/util/AllocatedString.hxx +++ b/src/util/AllocatedString.hxx @@ -123,6 +123,10 @@ public: return *value == SENTINEL; } + constexpr pointer_type data() const { + return value; + } + reference_type operator[](size_type i) { return value[i]; }