Skip to content

Commit b2ce7f0

Browse files
authored
Fix compilation issue (#677)
The field _ps of choice_view is marked as const. This conflicts with "this->_ps = choice_ntk._ps;" in the assignment operator. Compilation environment: - clang version 19.1.7
1 parent fa8513a commit b2ce7f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mockturtle/views/choice_view.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ class choice_view<Ntk, false> : public Ntk
582582
private:
583583
std::shared_ptr<std::vector<node>> _choice_repr;
584584
std::shared_ptr<std::vector<signal>> _choice_phase;
585-
choice_view_params const _ps;
585+
choice_view_params _ps;
586586
std::shared_ptr<typename network_events<Ntk>::add_event_type> _add_event;
587587
};
588588

0 commit comments

Comments
 (0)