1
0
forked from 0ad/0ad

GCC non-fixes: marked broken code

This was SVN commit r1032.
This commit is contained in:
Ykkrosh 2004-08-21 12:53:17 +00:00
parent d1e29b1d16
commit 57fad52ef3

View File

@ -363,7 +363,7 @@ static Handle find_key(uintptr_t key, H_Type type, bool remove = false)
// not found in mapping
if(it == key2idx.end())
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)
{
i32 idx = it->second;