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
Declare method const.
[simgrid.git]
/
src
/
surf
/
network_interface.cpp
diff --git
a/src/surf/network_interface.cpp
b/src/surf/network_interface.cpp
index
fc90ecb
..
de4f57e
100644
(file)
--- a/
src/surf/network_interface.cpp
+++ b/
src/surf/network_interface.cpp
@@
-162,7
+162,7
@@
LinkImpl* LinkImpl::set_latency_profile(profile::Profile* profile)
return this;
}
-void LinkImpl::set_concurrency_limit(int limit)
+void LinkImpl::set_concurrency_limit(int limit)
const
{
if (limit != -1) {
get_constraint()->reset_concurrency_maximum();