Update string.hpp

This commit is contained in:
2023-03-29 14:05:48 +01:00
committed by GitHub
parent 6ceb8da416
commit 5b21a72d8e

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();