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
ea6a34b0
Commit
ea6a34b0
authored
Dec 16, 2013
by
Alexandre Duret-Lutz
Browse files
* src/kripke/kripkeexplicit.cc: Work around a clang warning.
parent
79d6ef07
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kripke/kripkeexplicit.cc
View file @
ea6a34b0
// -*- coding: utf-8 -*-
// Copyright (C) 2011, 2012, 2014 Laboratoire de Recherche et
// Copyright (C) 2011, 2012,
2013,
2014 Laboratoire de Recherche et
// Developpement de l'Epita (LRDE)
//
// This file is part of Spot, a model checking library.
...
...
@@ -248,10 +248,8 @@ namespace spot
void
kripke_explicit
::
add_transition
(
std
::
string
source
,
std
::
string
dest
)
{
std
::
map
<
const
std
::
string
,
state_kripke
*>::
iterator
destination
=
ns_nodes_
.
find
(
dest
);
if
(
ns_nodes_
.
find
(
dest
)
==
ns_nodes_
.
end
())
auto
destination
=
ns_nodes_
.
find
(
dest
);
if
(
destination
==
ns_nodes_
.
end
())
{
state_kripke
*
neo
=
new
state_kripke
;
add_state
(
dest
,
neo
);
...
...
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