Fix libsupport/KeyMap's KeyAt method
This commit is contained in:
parent
2143de94c1
commit
ad673a63f5
|
@ -94,7 +94,7 @@ template<class KEY, class TYPE>
|
||||||
inline KEY
|
inline KEY
|
||||||
KeyMap<KEY, TYPE>::KeyAt(uint32 position) const
|
KeyMap<KEY, TYPE>::KeyAt(uint32 position) const
|
||||||
{
|
{
|
||||||
fIter i = fMap.begin();
|
fConstIter i = fMap.begin();
|
||||||
std::advance(i, position);
|
std::advance(i, position);
|
||||||
if (i == fMap.end())
|
if (i == fMap.end())
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Ŝarĝante…
Reference in New Issue