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
Useless cast to void*.
[simgrid.git]
/
include
/
xbt
/
signal.hpp
diff --git
a/include/xbt/signal.hpp
b/include/xbt/signal.hpp
index
4289edd
..
36bd87f
100644
(file)
--- a/
include/xbt/signal.hpp
+++ b/
include/xbt/signal.hpp
@@
-23,7
+23,7
@@
namespace xbt {
*/
template<class R, class... P>
class signal<R(P...)> {
-
typedef std::function<R(P...)> callback_type
;
+
using callback_type = std::function<R(P...)>
;
std::map<unsigned int, callback_type> handlers_;
unsigned int callback_sequence_id = 0;