src: Cleanup
This commit is contained in:
parent
f086b7b67e
commit
d0f96da2c0
|
@ -130,8 +130,7 @@ template <typename Memchunk> struct Memchunks {
|
||||||
size_t append(char c) {
|
size_t append(char c) {
|
||||||
if (!tail) {
|
if (!tail) {
|
||||||
head = tail = pool->get();
|
head = tail = pool->get();
|
||||||
}
|
} else if (tail->left() == 0) {
|
||||||
if (tail->left() == 0) {
|
|
||||||
tail->next = pool->get();
|
tail->next = pool->get();
|
||||||
tail = tail->next;
|
tail = tail->next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue