PIMap fix

This commit is contained in:
2022-05-06 16:27:40 +03:00
parent 9714d8ea42
commit 5770adfd34

View File

@@ -78,7 +78,7 @@ public:
PIMap() {;}
PIMap(const PIMap<Key, T> & other) {*this = other;}
PIMap(PIMap<Key, T> && other) : pim_content(std::move(other.pim_content)), pim_index(std::move(other.pim_index)) {}
PIMap(std::initializer_list<std::tuple<Key, T>> init_list) {
PIMap(std::initializer_list<std::pair<Key, T>> init_list) {
for (auto i: init_list)
insert(std::get<0>(i), std::get<1>(i));
}