Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Apr 16, 2024
1 parent da86413 commit 79b04d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class ChainedArenaAllocator
return bytes_count;
}

/** Merges another allocator into this one, and invalidates the other allocator. */
void merge (ChainedArenaAllocator& allocator_to_merge)
{
if (allocator_to_merge.arena_count == 0)
Expand Down

0 comments on commit 79b04d6

Please sign in to comment.