Skip to content

Commit

Permalink
Merge pull request #45 from iazz/develop
Browse files Browse the repository at this point in the history
Fix mutant_relation::operator=.
  • Loading branch information
joaquintides authored Sep 3, 2024
2 parents f57c83a + 6bbd6cb commit fc8d745
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions include/boost/bimap/relation/mutant_relation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,14 @@ class mutant_relation : public

// Operators

template< bool FM >
mutant_relation& operator=(const mutant_relation<TA,TB,Info,FM> & rel)
mutant_relation& operator=(const mutant_relation & rel)
{
base_::change_to(rel);
return *this;
}

mutant_relation& operator=(const mutant_relation<TA,TB,Info,
!force_mutable> & rel)
{
base_::change_to(rel);
return *this;
Expand Down

0 comments on commit fc8d745

Please sign in to comment.