Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / mc / remote / Channel.cpp
index d74e53a078f7a2d1e01f05643fa82b70a226afe9..8155d847ee95462575d2878bcfa140bd8d277155 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2021. The SimGrid Team.
+/* Copyright (c) 2015-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -15,8 +15,7 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_Channel, mc, "MC interprocess communication");
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 Channel::~Channel()
 {
@@ -46,5 +45,4 @@ ssize_t Channel::receive(void* message, size_t size, bool block) const
     XBT_ERROR("Channel::receive failure: %s", strerror(errno));
   return res;
 }
-}
-}
+} // namespace simgrid::mc