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
Concatenate nested namespaces (sonar).
[simgrid.git]
/
src
/
surf
/
disk_s19.cpp
diff --git
a/src/surf/disk_s19.cpp
b/src/surf/disk_s19.cpp
index
d1df923
..
a6f894f
100644
(file)
--- a/
src/surf/disk_s19.cpp
+++ b/
src/surf/disk_s19.cpp
@@
-27,9
+27,7
@@
void surf_disk_model_init_default()
engine->get_netzone_root()->set_disk_model(disk_model);
}
engine->get_netzone_root()->set_disk_model(disk_model);
}
-namespace simgrid {
-namespace kernel {
-namespace resource {
+namespace simgrid::kernel::resource {
DiskImpl* DiskS19Model::create_disk(const std::string& name, double read_bandwidth, double write_bandwidth)
{
DiskImpl* DiskS19Model::create_disk(const std::string& name, double read_bandwidth, double write_bandwidth)
{
@@
-134,6
+132,4
@@
void DiskS19Action::update_remains_lazy(double /*now*/)
{
THROW_IMPOSSIBLE;
}
{
THROW_IMPOSSIBLE;
}
-} // namespace resource
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::resource