Sync am-string.

This commit is contained in:
David Anderson 2014-09-03 21:45:44 -07:00
parent 6068d341c8
commit e6e90fb8b8

View File

@ -117,6 +117,8 @@ class AString
}
private:
static const size_t kInvalidLength = (size_t)-1;
void set(const char *str, size_t length) {
chars_ = new char[length + 1];
length_ = length;