X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..5a006fa396cfcc8a91a8284f0d625b2a9a2565c9:/src/mc/inspect/Type.hpp diff --git a/src/mc/inspect/Type.hpp b/src/mc/inspect/Type.hpp index e7d4cac544..3c225a1be9 100644 --- a/src/mc/inspect/Type.hpp +++ b/src/mc/inspect/Type.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-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. */ @@ -11,7 +11,6 @@ #include #include -#define DW_LANG_Objc DW_LANG_ObjC /* fix spelling error in older dwarf.h */ #include #include "xbt/asserts.h" @@ -20,8 +19,7 @@ #include "src/mc/inspect/LocationList.hpp" #include "src/mc/mc_forward.hpp" -namespace simgrid { -namespace mc { +namespace simgrid::mc { /** A member of a structure, union * @@ -29,7 +27,7 @@ namespace mc { */ class Member { public: - typedef int flags_type; + using flags_type = int; static constexpr flags_type INHERITANCE_FLAG = 1; static constexpr flags_type VIRTUAL_POINTER_FLAG = 2; @@ -103,7 +101,6 @@ public: simgrid::mc::Type* full_type = nullptr; // The same (but more complete) type }; -} // namespace mc -} // namespace simgrid +} // namespace simgrid::mc #endif