diff --git a/kernel/yw.h b/kernel/yw.h index 34546d1e246..e76a98afbf8 100644 --- a/kernel/yw.h +++ b/kernel/yw.h @@ -35,7 +35,7 @@ struct IdPath : public std::vector 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)*this); return h; } }; struct WitnessHierarchyItem {