npruehs / tome-editor

Tome is a generic data editor for games supporting arbitrary input and output formats.
GNU Lesser General Public License v3.0
36 stars 7 forks source link

fixed: crash during map iteration #119

Closed pgrimsehl closed 7 years ago

pgrimsehl commented 7 years ago

I encountered an access violation during the map iteration. Don't know what exactly caused that issue, but replacing cbegin()/cend() with begin()/end() fixed it. (iterator is still const_iterator)

npruehs commented 7 years ago

Thanks for bringing this up! This can actually be fixed making the map const, as in 4f0f220290ffca73bf0a481dbf580c6f416781f0.