Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
have a on_completion per activity type to save users some dynamic_cast-based filtering
[simgrid.git] / src / mc / inspect / Frame.hpp
index 51ca5624db07420cd4098eccea2089b73b643d73..d02e25ea4f469c90fa2a080ff7dd6624ca3be5b3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2019. The SimGrid Team.
+/* Copyright (c) 2007-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
 #include "src/mc/inspect/Variable.hpp"
 #include "src/mc/mc_forward.hpp"
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 /** Debug information about a given function or scope within a function */
 class Frame {
 public:
-  Frame() = default;
-
   /** Kind of scope (DW_TAG_subprogram, DW_TAG_inlined_subroutine, etc.) */
   int tag = DW_TAG_invalid;
 
@@ -32,7 +29,7 @@ public:
   std::string name;
 
   /** Range of instruction addresses for which this scope is valid */
-  simgrid::xbt::Range<std::uint64_t> range = {0, 0};
+  simgrid::xbt::Range<std::uint64_t> range{0, 0};
 
   simgrid::dwarf::LocationList frame_base_location;
 
@@ -58,7 +55,6 @@ public:
   void* frame_base(unw_cursor_t& unw_cursor) const;
   void remove_variable(char* name);
 };
-} // namespace mc
-} // namespace simgrid
+} // namespace simgrid::mc
 
 #endif