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
Start snake_casing s4u::NetZone
[simgrid.git]
/
src
/
s4u
/
s4u_Netzone.cpp
diff --git
a/src/s4u/s4u_Netzone.cpp
b/src/s4u/s4u_Netzone.cpp
index
5a60eeb
..
5e1387a
100644
(file)
--- a/
src/s4u/s4u_Netzone.cpp
+++ b/
src/s4u/s4u_Netzone.cpp
@@
-40,7
+40,7
@@
NetZone::~NetZone()
std::unordered_map<std::string, std::string>* NetZone::getProperties()
{
std::unordered_map<std::string, std::string>* NetZone::getProperties()
{
- return simgrid::simix::
kernelImmediate
([this] { return &properties_; });
+ return simgrid::simix::
simcall
([this] { return &properties_; });
}
/** Retrieve the property value (or nullptr if not set) */
}
/** Retrieve the property value (or nullptr if not set) */
@@
-50,7
+50,7
@@
const char* NetZone::getProperty(const char* key)
}
void NetZone::setProperty(const char* key, const char* value)
{
}
void NetZone::setProperty(const char* key, const char* value)
{
- simgrid::simix::
kernelImmediate
([this, key, value] { properties_[key] = value; });
+ simgrid::simix::
simcall
([this, key, value] { properties_[key] = value; });
}
/** @brief Returns the list of direct children (no grand-children)
}
/** @brief Returns the list of direct children (no grand-children)
@@
-66,7
+66,7
@@
const char* NetZone::get_cname() const
{
return name_.c_str();
}
{
return name_.c_str();
}
-NetZone* NetZone::get
F
ather()
+NetZone* NetZone::get
_f
ather()
{
return father_;
}
{
return father_;
}