Commit 3eb26704 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

more gcc-snapshot warnings

* spot/misc/game.hh: Here.
parent 438d9e6d
Pipeline #3914 passed with stage
in 108 minutes and 21 seconds
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment