PIMap fix
This commit is contained in:
@@ -78,7 +78,7 @@ public:
|
|||||||
PIMap() {;}
|
PIMap() {;}
|
||||||
PIMap(const PIMap<Key, T> & other) {*this = other;}
|
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(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)
|
for (auto i: init_list)
|
||||||
insert(std::get<0>(i), std::get<1>(i));
|
insert(std::get<0>(i), std::get<1>(i));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user