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
When you detect a cycle in a structure supposed to be acyclic, don't
[simgrid.git]
/
src
/
xbt
/
xbt_peer.c
diff --git
a/src/xbt/xbt_peer.c
b/src/xbt/xbt_peer.c
index
80dae08
..
919f51d
100644
(file)
--- a/
src/xbt/xbt_peer.c
+++ b/
src/xbt/xbt_peer.c
@@
-21,6
+21,7
@@
xbt_peer_t xbt_peer_new(const char *name, int port)
return res;
}
+/** \brief copy constructor */
xbt_peer_t xbt_peer_copy(xbt_peer_t h)
{
return xbt_peer_new(h->name, h->port);