Misc changes

This commit is contained in:
Krzosa Karol
2023-01-01 20:08:07 +01:00
parent 1121e4aa84
commit 5138ba0097
2 changed files with 5 additions and 6 deletions

View File

@@ -296,6 +296,7 @@ CORE_Static Intern_String
//-----------------------------------------------------------------------------
// Array List
// @todo(krzosa): If even one item got removed from block
// @! Make List api more convenient list.add
// the block should go on free list
//-----------------------------------------------------------------------------
const int LIST_DEFAULT_BLOCK_SIZE = 32;
@@ -348,7 +349,6 @@ struct List{
result.node_index = -1;
return ++result;
}
Iter end() { return{}; }
friend bool operator!=(Iter &a, Iter &b) { return a.item != b.item; }
};