diff --git a/src/util/AllocatedString.hxx b/src/util/AllocatedString.hxx index dbc0abfc0..97975f8b8 100644 --- a/src/util/AllocatedString.hxx +++ b/src/util/AllocatedString.hxx @@ -89,6 +89,10 @@ public: return value; } + bool empty() const { + return *value == 0; + } + pointer Steal() { pointer result = value; value = nullptr;