ImpalerWrG / Khazad

A Strategy game based on Dwarf Fortress
67 stars 16 forks source link

Deserialization fails on std::map #2

Closed ImpalerWrG closed 9 years ago

ImpalerWrG commented 11 years ago

Boost fails to correctly deserialize a std::map in which pointers to objects are used as values. This is causing a crash immediately following loading of save files which Cells are iterated over in Map. Possible solutions are to roll a custom Hash-table (which would be faster then std::map anyways) with embedded serialization, or to find boost commands or serialization headers that fix the problem.

ImpalerWrG commented 9 years ago

No longer relevant after move to Java