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
Please static checkers.
[simgrid.git]
/
src
/
s4u
/
s4u_Netzone.cpp
diff --git
a/src/s4u/s4u_Netzone.cpp
b/src/s4u/s4u_Netzone.cpp
index 8f01821a0b6a5bfdb105d32acaf93b0463fc254f..bd00dc9e81c6db4c362ec3956f132560dd3d8823 100644
(file)
--- a/
src/s4u/s4u_Netzone.cpp
+++ b/
src/s4u/s4u_Netzone.cpp
@@
-14,8
+14,7
@@
#include "src/kernel/resource/NetworkModel.hpp"
#include "src/kernel/resource/NetworkModel.hpp"
-namespace simgrid {
-namespace s4u {
+namespace simgrid::s4u {
xbt::signal<void(NetZone const&)> NetZone::on_creation;
xbt::signal<void(NetZone const&)> NetZone::on_seal;
xbt::signal<void(NetZone const&)> NetZone::on_creation;
xbt::signal<void(NetZone const&)> NetZone::on_seal;
@@
-76,7
+75,7
@@
std::vector<Host*> NetZone::get_all_hosts() const
return pimpl_->get_all_hosts();
}
return pimpl_->get_all_hosts();
}
-
in
t NetZone::get_host_count() const
+
size_
t NetZone::get_host_count() const
{
return pimpl_->get_host_count();
}
{
return pimpl_->get_host_count();
}
@@
-200,8
+199,7
@@
kernel::resource::NetworkModelIntf* NetZone::get_network_model() const
kernel::resource::NetworkModelIntf* model = pimpl_->get_network_model().get();
return model;
}
kernel::resource::NetworkModelIntf* model = pimpl_->get_network_model().get();
return model;
}
-} // namespace s4u
-} // namespace simgrid
+} // namespace simgrid::s4u
/* **************************** Public C interface *************************** */
/* **************************** Public C interface *************************** */