Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reduce depth of nested statements
[simgrid.git] / src / mc / udpor_global.cpp
index 8241c229a52e65e67bf22261d71c2e30e146e7b6..b3815246cc5f2ebaabe611888fd55ceaa0d0a95c 100644 (file)
@@ -9,8 +9,7 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_udpor_global, mc, "udpor_global");
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 EventSet EvtSetTools::makeUnion(const EventSet& s1, const EventSet& s2)
 {
@@ -31,5 +30,4 @@ bool EvtSetTools::contains(const EventSet& events, const UnfoldingEvent* e)
   return std::any_of(events.begin(), events.end(), [e](const UnfoldingEvent* evt) { return *evt == *e; });
 }
 
-} // namespace mc
-} // namespace simgrid
+} // namespace simgrid::mc