(svn r17228) -Codechange: some coding style fixes

This commit is contained in:
rubidium
2009-08-20 10:23:39 +00:00
parent 0188ebad56
commit 7fb95e2c2b
13 changed files with 47 additions and 34 deletions

View File

@@ -185,8 +185,7 @@ inline void CBinaryHeapT<Titem_>::RemoveByIdx(int idx)
}
/* move parent to the proper place */
if (m_size > 0) m_items[gap] = &last;
}
else {
} else {
assert(idx == m_size);
m_size--;
}