diff --git a/spot/misc/game.hh b/spot/misc/game.hh index e43123985..e9f66a0df 100644 --- a/spot/misc/game.hh +++ b/spot/misc/game.hh @@ -166,6 +166,19 @@ public: int compare(const state* other) const override; + reachability_state& operator=(const reachability_state& other) + { + num_ = other.num_; + b_ = other.b_; + anke_ = other.anke_; + return *this; + } + + reachability_state(const reachability_state& other) + : num_(other.num_), b_(other.b_), anke_(other.anke_) + { + } + bool operator==(const reachability_state& o) const { return compare(&o) == 0;