X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/017abccc6d2baf4a39c08e9ebfe1fc402d12384b..8c6bbb14f44b8daed5ea43d80880c6bf2155118b:/src/kernel/activity/SemaphoreImpl.hpp diff --git a/src/kernel/activity/SemaphoreImpl.hpp b/src/kernel/activity/SemaphoreImpl.hpp index b817599bb2..fb69aad60c 100644 --- a/src/kernel/activity/SemaphoreImpl.hpp +++ b/src/kernel/activity/SemaphoreImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2019-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2019-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,16 +6,14 @@ #ifndef SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP #define SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP -#include -#include - #include "simgrid/s4u/Semaphore.hpp" #include "src/kernel/actor/ActorImpl.hpp" #include "src/kernel/actor/SynchroObserver.hpp" -namespace simgrid { -namespace kernel { -namespace activity { +#include +#include + +namespace simgrid::kernel::activity { /** Semaphore Acquisition: the act / process of acquiring the semaphore. * @@ -85,8 +83,6 @@ public: unsigned get_id() const { return id_; } s4u::Semaphore& sem() { return piface_; } }; -} // namespace activity -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::activity #endif /* SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP */