Skip to content

Commit

Permalink
Actually clear the StringPool
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed Nov 4, 2024
1 parent 3bd3197 commit 07dfa78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zasm/include/zasm/core/stringpool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ namespace zasm
{
_entries.clear();
_blocks.clear();
_freeEntries.clear();
for (auto& bucket : _hashBuckets)
{
bucket.clear();
}
}

std::size_t size() const noexcept
Expand Down

0 comments on commit 07dfa78

Please sign in to comment.