]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/inspect/mc_unw.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Useless cosmetics while trying to understand that code
[simgrid.git] / src / mc / inspect / mc_unw.hpp
index 49c91837d91922adaa29da4e1070e9981b694d26..606dc63387a894f2bd63da24adb1656b177bd8ff 100644 (file)
 #include <cstdio>
 #include <libunwind.h>
 
-namespace simgrid {
-namespace unw {
+namespace simgrid::unw {
 
 XBT_PRIVATE unw_addr_space_t create_addr_space();
 XBT_PRIVATE void* create_context(unw_addr_space_t as, pid_t pid);
-} // namespace unw
-} // namespace simgrid
+} // namespace simgrid::unw
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 class UnwindContext {
   simgrid::mc::AddressSpace* address_space_ = nullptr;
@@ -68,7 +65,6 @@ public:
 };
 
 void dumpStack(FILE* file, unw_cursor_t* cursor);
-} // namespace mc
-} // namespace simgrid
+} // namespace simgrid::mc
 
 #endif