A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A few more sonar smells.
[simgrid.git]
/
include
/
xbt
/
automaton.hpp
diff --git
a/include/xbt/automaton.hpp
b/include/xbt/automaton.hpp
index
49d55f5
..
8c4ac2e
100644
(file)
--- a/
include/xbt/automaton.hpp
+++ b/
include/xbt/automaton.hpp
@@
-23,7
+23,7
@@
template <class F> xbt_automaton_propositional_symbol_t add_proposition(const_xb
{
auto* callback = new F(std::move(f));
return xbt_automaton_propositional_symbol_new_callback(
- a, id, [](
void* cb) -> int { return (*(F*)cb)(); }, callback, [](void
* cb) -> void { delete (F*)cb; });
+ a, id, [](
auto* cb) -> int { return (*(F*)cb)(); }, callback, [](auto
* cb) -> void { delete (F*)cb; });
}
}