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
leaks --
[simgrid.git]
/
src
/
xbt
/
config.cpp
diff --git
a/src/xbt/config.cpp
b/src/xbt/config.cpp
index
7578fbd
..
20b6a5e
100644
(file)
--- a/
src/xbt/config.cpp
+++ b/
src/xbt/config.cpp
@@
-255,7
+255,7
@@
void xbt_cfg_register_alias(const char *newname, const char *oldname)
res = new s_xbt_cfgelm_t();
XBT_DEBUG("Register cfg alias %s -> %s)",oldname,newname);
res = new s_xbt_cfgelm_t();
XBT_DEBUG("Register cfg alias %s -> %s)",oldname,newname);
- res->desc =
bprintf("Deprecated alias for %s",
newname);
+ res->desc =
std::string("Deprecated alias for ")+std::string(
newname);
res->type = xbt_cfgelm_alias;
res->content = (xbt_dynar_t)newname;
res->type = xbt_cfgelm_alias;
res->content = (xbt_dynar_t)newname;