forked from OctaForge/libostd
return fix
This commit is contained in:
parent
5189bab1af
commit
46d8844a49
|
@ -502,7 +502,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
StringBase &append(Size n, T c) {
|
StringBase &append(Size n, T c) {
|
||||||
if (!n) return;
|
if (!n) return *this;
|
||||||
reserve(p_len + n);
|
reserve(p_len + n);
|
||||||
for (Size i = 0; i < n; ++n) p_buf.first()[p_len + i] = c;
|
for (Size i = 0; i < n; ++n) p_buf.first()[p_len + i] = c;
|
||||||
p_len += n;
|
p_len += n;
|
||||||
|
|
Loading…
Reference in a new issue