Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Defining template <bool FM> mutant_relation& operator=(const mutant_relation<TA, TB, Info, FM>& rel) { base_::change_to(rel); return *this; } does not prevent the compiler from implicitly providing mutant_relation& operator=(const mutant_relation&); and hence the implicit version takes over when FM == force_mutable and does not call base_::change_to. Replace the template version with two non-template overloads, both calling base_::change_to. Signed-off-by: Ignacy Gawędzki <[email protected]>
- Loading branch information