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

Public GIT Repository
Use std::string (sonar).
[simgrid.git] / src / kernel / timer / Timer.cpp
index 93862c6b70a6bffae1d4c8437ea57a88eccea17e..0ea3e76d8f7a48a242b22e590fba0ae3e33e161f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2021-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2021-2023. 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. */
@@ -6,9 +6,7 @@
 #include <simgrid/kernel/Timer.hpp>
 #include <simgrid/s4u/Engine.hpp>
 
-namespace simgrid {
-namespace kernel {
-namespace timer {
+namespace simgrid::kernel::timer {
 
 Timer* Timer::set(double date, xbt::Task<void()>&& callback)
 {
@@ -38,6 +36,4 @@ bool Timer::execute_all()
   return result;
 }
 
-} // namespace timer
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::timer