diff --git a/libs/libsupport/KeyMap.h b/libs/libsupport/KeyMap.h index 87cfd4a..725707f 100644 --- a/libs/libsupport/KeyMap.h +++ b/libs/libsupport/KeyMap.h @@ -94,7 +94,7 @@ template inline KEY KeyMap::KeyAt(uint32 position) const { - fIter i = fMap.begin(); + fConstIter i = fMap.begin(); std::advance(i, position); if (i == fMap.end()) return NULL;