Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
3eb26704
Commit
3eb26704
authored
Sep 27, 2018
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
spot/misc/game.hh
View file @
3eb26704
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment