diff options
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkString.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkString.h b/include/core/SkString.h index ea73e09823..9229d808a6 100644 --- a/include/core/SkString.h +++ b/include/core/SkString.h @@ -178,6 +178,7 @@ public: char& operator[](size_t n) { return this->writable_str()[n]; } void reset(); + /** Destructive resize, does not preserve contents. */ void resize(size_t len) { this->set(NULL, len); } void set(const SkString& src) { *this = src; } void set(const char text[]); |