forked from 0ad/0ad
GCC non-fixes: marked broken code
This was SVN commit r1032.
This commit is contained in:
parent
d1e29b1d16
commit
57fad52ef3
@ -363,7 +363,7 @@ static Handle find_key(uintptr_t key, H_Type type, bool remove = false)
|
|||||||
// not found in mapping
|
// not found in mapping
|
||||||
if(it == key2idx.end())
|
if(it == key2idx.end())
|
||||||
return -1;
|
return -1;
|
||||||
It end = key2idx.upper_bound(key);
|
It end = key2idx.upper_bound(key); // XXX this doesn't exist in gcc
|
||||||
for(; it != end; ++it)
|
for(; it != end; ++it)
|
||||||
{
|
{
|
||||||
i32 idx = it->second;
|
i32 idx = it->second;
|
||||||
|
Loading…
Reference in New Issue
Block a user