Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Small typos in comments
[simgrid.git] / src / kernel / resource / StandardLinkImpl.hpp
index 818df95e3dd1a2a0691f1bf46b8e7f3577fa7d97..d573fe127f9ec79f26298f465a3f1ea6e87c4a4b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2004-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2004-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. */
@@ -12,9 +12,7 @@
  * Classes *
  ***********/
 
-namespace simgrid {
-namespace kernel {
-namespace resource {
+namespace simgrid::kernel::resource {
 /************
  * Resource *
  ************/
@@ -36,7 +34,7 @@ public:
   void destroy(); // Must be called instead of the destructor
   class Deleter {
   public:
-    void operator()(StandardLinkImpl* link);
+    void operator()(StandardLinkImpl* link) const;
   };
 
   void latency_check(double latency) const;
@@ -72,12 +70,8 @@ public:
   /* setup the profile file with latency events (peak latency changes due to external load).
    * Profile must contain absolute values */
   void set_latency_profile(kernel::profile::Profile* profile) override;
-
-  void set_concurrency_limit(int limit) const override;
 };
 
-} // namespace resource
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::resource
 
 #endif /* SIMGRID_KERNEL_RESOURCE_STANDARDLINKIMPL_HPP */