Skip to content

Commit

Permalink
Fixes ygm::container::multimap to use std::multimap for underlying st…
Browse files Browse the repository at this point in the history
…orage
  • Loading branch information
steiltre committed Dec 26, 2023
1 parent 022cdd5 commit 625d83d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/ygm/container/map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ class multimap {
void local_for_all(Function fn);

private:
mapped_type m_default_value;
std::map<key_type, mapped_type, Compare, Alloc> m_local_map;
ygm::comm& m_comm;
ptr_type pthis;
mapped_type m_default_value;
std::multimap<key_type, mapped_type, Compare, Alloc> m_local_map;
ygm::comm& m_comm;
ptr_type pthis;
};

} // namespace ygm::container
Expand Down

0 comments on commit 625d83d

Please sign in to comment.