mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-06 12:10:54 +00:00
Use std::variant. Store refId strings in unordered_set and use pointer to an item there. Inserts to unordered_set do not invalidate pointers to values so the pointer is always valid. Elements are not removed. Assume there is finite number of string refIds. |
||
|---|---|---|
| .. | ||
| model | ||
| view | ||
| CMakeLists.txt | ||
| editor.cpp | ||
| editor.hpp | ||
| main.cpp | ||