more gcc-snapshot warnings
* spot/misc/game.hh: Here.
This commit is contained in:
parent
438d9e6d02
commit
3eb26704d6
1 changed files with 13 additions and 0 deletions
|
|
@ -166,6 +166,19 @@ public:
|
||||||
|
|
||||||
int compare(const state* other) const override;
|
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
|
bool operator==(const reachability_state& o) const
|
||||||
{
|
{
|
||||||
return compare(&o) == 0;
|
return compare(&o) == 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue