From ad673a63f59f3729b3026af37447058bc39578f8 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Tue, 1 Jun 2021 21:41:49 -0500 Subject: [PATCH] Fix libsupport/KeyMap's KeyAt method --- libs/libsupport/KeyMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;