fix a stupid error when constructing

This commit is contained in:
2024-03-26 13:18:16 +00:00
parent 587b28ffd7
commit 5f2a3376c8

View File

@ -570,6 +570,7 @@ class map {
map() : node_count(0), tree_root(nullptr) {}
map(const map &other) {
node_count = other.node_count;
tree_root = nullptr;
RedBlackTreeNodeType::CopyFrom(tree_root, other.tree_root);
}
map(map &&other) {