Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Spot
Spot
Commits
c6840d81
Commit
c6840d81
authored
Sep 22, 2012
by
Alexandre Duret-Lutz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around old g++ versions.
* src/tgbaalgos/isweakscc.cc (cycle_found): Add a const_cast.
parent
13025d6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/tgbaalgos/isweakscc.cc
src/tgbaalgos/isweakscc.cc
+3
-1
No files found.
src/tgbaalgos/isweakscc.cc
View file @
c6840d81
...
...
@@ -49,7 +49,9 @@ namespace spot
if
(
i
->
ts
->
first
==
start
)
break
;
++
i
;
assert
(
i
!=
dfs_
.
rend
());
// The const cast is here to please old g++ versions.
// At least version 4.0 needs it.
assert
(
i
!=
const_cast
<
const
dfs_stack
&>
(
dfs_
).
rend
());
}
if
(
acc
!=
aut_
->
all_acceptance_conditions
())
{
...
...
Write
Preview
Markdown
is supported
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