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

Public GIT Repository
Kill duplicate function + typos.
[simgrid.git] / src / mc / inspect / Type.hpp
index 4ae29aad1c1f98184ebc1d1d792006a5f7e53395..c6d165549b67e86184108150106d75d9e11d6df6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2022. 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,6 +11,8 @@
 #include <string>
 #include <vector>
 
+#include <dwarf.h>
+
 #include "xbt/asserts.h"
 #include "xbt/base.h"
 
@@ -26,7 +28,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;