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
fix NS3 build + avoid vector copies
[simgrid.git]
/
src
/
surf
/
network_ns3.cpp
diff --git
a/src/surf/network_ns3.cpp
b/src/surf/network_ns3.cpp
index
c6e2cce
..
211586f
100644
(file)
--- a/
src/surf/network_ns3.cpp
+++ b/
src/surf/network_ns3.cpp
@@
-173,7
+173,7
@@
NetworkNS3Model::~NetworkNS3Model() {
IPV4addr.clear();
}
IPV4addr.clear();
}
-LinkImpl* NetworkNS3Model::create_link(const std::string& name,
std::vector<double>
bandwidths, double latency,
+LinkImpl* NetworkNS3Model::create_link(const std::string& name,
const std::vector<double>&
bandwidths, double latency,
s4u::Link::SharingPolicy policy)
{
xbt_assert(bandwidths.size() == 1, "Non WIFI links must use only 1 bandwidth.");
s4u::Link::SharingPolicy policy)
{
xbt_assert(bandwidths.size() == 1, "Non WIFI links must use only 1 bandwidth.");