mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
DecklistNodeTree::getZoneObjFromName creates a new zone node when the name is unknown, so declaring it const was a lie that let a const DecklistNodeTree mutate its tree. It is only called from mutating paths (addCard, readZoneElement), so the const qualifier is removed. Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| tree | ||
| deck_list.cpp | ||
| deck_list.h | ||
| deck_list_history_manager.cpp | ||
| deck_list_history_manager.h | ||
| deck_list_memento.h | ||
| deck_list_node_tree.cpp | ||
| deck_list_node_tree.h | ||
| playmat_resolver.cpp | ||
| playmat_resolver.h | ||
| sideboard_plan.cpp | ||
| sideboard_plan.h | ||