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
always use the right type for link sharing policy
[simgrid.git]
/
src
/
surf
/
network_interface.cpp
diff --git
a/src/surf/network_interface.cpp
b/src/surf/network_interface.cpp
index
4d6e228
..
a0275c7
100644
(file)
--- a/
src/surf/network_interface.cpp
+++ b/
src/surf/network_interface.cpp
@@
-161,7
+161,7
@@
double NetworkModel::latencyFactor(double /*size*/)
return bandwidth_.peak * bandwidth_.scale;
}
-
int
LinkImpl::sharingPolicy()
+
s4u::Link::SharingPolicy
LinkImpl::sharingPolicy()
{
return get_constraint()->get_sharing_policy();
}