Skip to content

Commit

Permalink
don not call destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij committed Jan 29, 2025
1 parent 36f88bc commit 2ddc8dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Client/game_sa/CDynamicPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class CDynamicPoolPart
{
auto pos = item - m_items.get();
assert(m_usedSlots[pos], "Invalid item for CDynamicPoolPart::RemoveItem");
item->~PoolObjT();

m_usedSlots[pos] = false;
m_usedSize--;
Expand Down

0 comments on commit 2ddc8dc

Please sign in to comment.