Skip to content

Commit bca3619

Browse files
committed
Use assert for RemoveItem
1 parent db10972 commit bca3619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/game_sa/CDynamicPool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class CDynamicPool
9797
}
9898
}
9999

100-
throw std::exception("Invalid item for CDynamicPool::RemoveItem");
100+
assert(false && "Invalid item for CDynamicPool::RemoveItem");
101101
}
102102

103103
std::size_t GetCapacity() const noexcept

0 commit comments

Comments
 (0)