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.hpp
diff --git
a/src/surf/network_interface.hpp
b/src/surf/network_interface.hpp
index
0e42ab1
..
d809adf
100644
(file)
--- a/
src/surf/network_interface.hpp
+++ b/
src/surf/network_interface.hpp
@@
-136,9
+136,8
@@
public:
/** @brief Update the latency in seconds of current Link */
virtual void setLatency(double value) = 0;
/** @brief Update the latency in seconds of current Link */
virtual void setLatency(double value) = 0;
- /** @brief The sharing policy is a @{link e_surf_link_sharing_policy_t::EType} (0: FATPIPE, 1: SHARED, 2:
- * SPLITDUPLEX) */
- virtual int sharingPolicy();
+ /** @brief The sharing policy */
+ virtual s4u::Link::SharingPolicy sharingPolicy();
/** @brief Check if the Link is used */
bool is_used() override;
/** @brief Check if the Link is used */
bool is_used() override;