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
Prefer "using" to "typedef".
[simgrid.git]
/
include
/
xbt
/
config.h
diff --git
a/include/xbt/config.h
b/include/xbt/config.h
index
2fde39a
..
e9cb3ad
100644
(file)
--- a/
include/xbt/config.h
+++ b/
include/xbt/config.h
@@
-56,7
+56,7
@@
/** @brief Configuration set's data type is opaque. */
#ifdef __cplusplus
#include <xbt/config.hpp>
-
typedef simgrid::config::Config* xbt_cfg_t
;
+
using xbt_cfg_t = simgrid::config::Config*
;
#else
typedef void* xbt_cfg_t;
#endif