Skip to content

Commit

Permalink
Use assert for RemoveItem
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij committed Feb 2, 2025
1 parent db10972 commit bca3619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/game_sa/CDynamicPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class CDynamicPool
}
}

throw std::exception("Invalid item for CDynamicPool::RemoveItem");
assert(false && "Invalid item for CDynamicPool::RemoveItem");
}

std::size_t GetCapacity() const noexcept
Expand Down

0 comments on commit bca3619

Please sign in to comment.