Update string.hpp

This commit is contained in:
6arelyFuture 2023-03-29 14:05:48 +01:00 committed by GitHub
parent 6ceb8da416
commit 5b21a72d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ private:
class entry final {
public:
explicit entry(const size_t size = min_buffer_size)
: size(size), buffer_(nullptr) {
: size_(size), buffer_(nullptr) {
if (this->size_ < min_buffer_size)
this->size_ = min_buffer_size;
this->allocate();