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
[sonar] Replace redundant type with "auto" (include/ and src/).
[simgrid.git]
/
src
/
surf
/
network_wifi.cpp
diff --git
a/src/surf/network_wifi.cpp
b/src/surf/network_wifi.cpp
index 9c605241488e9da847686cd16c5eeafbbe29cd02..76f2f57199d711fc41808871922f3a9bdac99ee0 100644
(file)
--- a/
src/surf/network_wifi.cpp
+++ b/
src/surf/network_wifi.cpp
@@
-64,7
+64,7
@@
s4u::Link::SharingPolicy NetworkWifiLink::get_sharing_policy()
void NetworkWifiLink::refresh_decay_bandwidths(){
// Compute number of STAtion on the Access Point
void NetworkWifiLink::refresh_decay_bandwidths(){
// Compute number of STAtion on the Access Point
-
int nSTA = static_cast<int>(host_rates_.size()
);
+
size_t nSTA = host_rates_.size(
);
std::vector<Metric> new_bandwidths;
for (auto bandwidth : bandwidths_){
std::vector<Metric> new_bandwidths;
for (auto bandwidth : bandwidths_){