mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
Fix incorrectly formed assert statement.
llvm-svn: 292537
This commit is contained in:
parent
3e925228cc
commit
d89d0c7759
@ -181,7 +181,7 @@ void HashTable::grow() {
|
||||
uint32_t S = size();
|
||||
if (S < maxLoad(capacity()))
|
||||
return;
|
||||
assert(capacity() != UINT32_MAX, "Can't grow Hash table!");
|
||||
assert(capacity() != UINT32_MAX && "Can't grow Hash table!");
|
||||
|
||||
uint32_t NewCapacity =
|
||||
(capacity() <= INT32_MAX) ? capacity() * 2 : UINT32_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user