This commit is contained in:
momo5502 2022-05-30 21:10:08 +02:00
parent d9b834bede
commit f5f9dae447

View File

@ -45,9 +45,7 @@ namespace utils::string
class entry final
{
public:
entry() = default;
explicit entry(const size_t _size = MinBufferSize) : size(_size), buffer(nullptr)
entry(const size_t _size = MinBufferSize) : size(_size), buffer(nullptr)
{
if (this->size < MinBufferSize) this->size = MinBufferSize;
this->allocate();