diff options
Diffstat (limited to 'goo')
-rw-r--r-- | goo/GooString.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/goo/GooString.h b/goo/GooString.h index 11baa8ae..78824455 100644 --- a/goo/GooString.h +++ b/goo/GooString.h @@ -68,6 +68,7 @@ public: explicit GooString(std::string&& str) : std::string(std::move(str)) {} const std::string& toStr() const { return *this; } + std::string& toNonConstStr() { return *this; } // Create a string from <lengthA> chars at <sA>. This string // can contain null characters. |