src: Cleanup

This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-12 02:10:07 +09:00
parent f086b7b67e
commit d0f96da2c0
1 changed files with 1 additions and 2 deletions

View File

@ -130,8 +130,7 @@ template <typename Memchunk> struct Memchunks {
size_t append(char c) {
if (!tail) {
head = tail = pool->get();
}
if (tail->left() == 0) {
} else if (tail->left() == 0) {
tail->next = pool->get();
tail = tail->next;
}