]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/network_constant.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
removed unused variable
[simgrid.git] / src / surf / network_constant.cpp
index b8e9606fcd40f4abc8db9e580620b757f9197249..c81187484b0c33084ee12ff06b69d2132b65a210 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -23,9 +23,7 @@ void surf_network_model_init_Constant()
   engine->get_netzone_root()->set_network_model(net_model);
 }
 
-namespace simgrid {
-namespace kernel {
-namespace resource {
+namespace simgrid::kernel::resource {
 
 StandardLinkImpl* NetworkConstantModel::create_link(const std::string& name, const std::vector<double>& /*bandwidth*/)
 {
@@ -94,6 +92,4 @@ void NetworkConstantAction::update_remains_lazy(double /*now*/)
   THROW_IMPOSSIBLE;
 }
 
-} // namespace resource
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::resource