Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Apua
Kirjaudu sisään
lolengine
/
lol
peilaus alkaen
https://github.com/lolengine/lol
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
base: crash with an assert error if trying to access a read-only map
with a nonexistent key.
legacy
Sam Hocevar
sam
12 vuotta sitten
vanhempi
14447c6061
commit
7181860ee6
1 muutettua tiedostoa
jossa
1 lisäystä
ja
0 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/lol/base/map.h
+ 1
- 0
src/lol/base/map.h
Näytä tiedosto
@@ -35,6 +35,7 @@ public:
if (m_array[i].m2 == key)
return m_array[i].m3;
/* XXX: this in an error! */
ASSERT(0, "trying to read a non-existent key in map");
return V();
}
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna