Skip to content
GitLab
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
ac41825e
Commit
ac41825e
authored
Jun 20, 2012
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/degen.cc (~unicity_table): Accommodate g++ 4.0.1.
parent
d5bb0ffe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tgbaalgos/degen.cc
View file @
ac41825e
...
...
@@ -88,8 +88,13 @@ namespace spot
~
unicity_table
()
{
for
(
uniq_set
::
iterator
i
=
m
.
begin
();
i
!=
m
.
end
();
++
i
)
(
*
i
)
->
destroy
();
for
(
uniq_set
::
iterator
i
=
m
.
begin
();
i
!=
m
.
end
();)
{
// Advance the iterator before destroying its key. This
// avoid issues with old g++ implementations.
uniq_set
::
iterator
old
=
i
++
;
(
*
old
)
->
destroy
();
}
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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