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
explicitely capture variables in lambda to please sonar
[simgrid.git]
/
src
/
s4u
/
s4u_netzone.cpp
diff --git
a/src/s4u/s4u_netzone.cpp
b/src/s4u/s4u_netzone.cpp
index
3d9e085
..
1124461
100644
(file)
--- a/
src/s4u/s4u_netzone.cpp
+++ b/
src/s4u/s4u_netzone.cpp
@@
-54,7
+54,7
@@
const char* NetZone::property(const char* key)
}
void NetZone::setProperty(const char* key, const char* value)
{
}
void NetZone::setProperty(const char* key, const char* value)
{
- simgrid::simix::kernelImmediate([=] {
+ simgrid::simix::kernelImmediate([=
,&key,&value
] {
properties_[key] = value;
});
}
properties_[key] = value;
});
}