Skip to content

Commit

Permalink
yw: fix unintensional recursion in hash_into
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Dec 19, 2024
1 parent 281e474 commit 9b47653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/yw.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct IdPath : public std::vector<RTLIL::IdString>
bool has_address() const { int tmp; return get_address(tmp); };
bool get_address(int &addr) const;

Hasher hash_into(Hasher h) const { h.eat(*this); return h; }
Hasher hash_into(Hasher h) const { h.eat((std::vector<RTLIL::IdString>)*this); return h; }
};

struct WitnessHierarchyItem {
Expand Down

0 comments on commit 9b47653

Please sign in to comment.