diff options
Diffstat (limited to 'zen/string_base.h')
-rw-r--r-- | zen/string_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/string_base.h b/zen/string_base.h index 676d7f7f..98544ab3 100644 --- a/zen/string_base.h +++ b/zen/string_base.h @@ -586,7 +586,7 @@ void Zbase<Char, SP>::reserve(size_t minCapacity) //make unshared and check capa //allocate a new string const size_t len = size(); Char* newStr = this->create(len, std::max(len, minCapacity)); //reserve() must NEVER shrink the string: logical const! - *std::copy(rawStr_, rawStr_ + len , newStr) = 0; + *std::copy(rawStr_, rawStr_ + len, newStr) = 0; this->destroy(rawStr_); rawStr_ = newStr; |