X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f12caebeefc7985a0586836248238e475258079..debe4e5871c0c3d1c714bbb1bd28ba7147454aa5:/src/mc/Type.hpp diff --git a/src/mc/Type.hpp b/src/mc/Type.hpp index 5551e23278..7bc14644c1 100644 --- a/src/mc/Type.hpp +++ b/src/mc/Type.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2019. 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. */ @@ -12,10 +11,8 @@ #include #include -#include -#include - -#include +#include "xbt/asserts.h" +#include "xbt/base.h" #include "src/mc/mc_forward.hpp" #include "src/mc/LocationList.hpp" @@ -33,7 +30,7 @@ public: static constexpr flags_type INHERITANCE_FLAG = 1; static constexpr flags_type VIRTUAL_POINTER_FLAG = 2; - Member() {} + Member() = default; /** Whether this member represent some inherited part of the object */ flags_type flags = 0; @@ -96,7 +93,7 @@ public: /** A type in the model-checked program */ class Type { public: - Type() {} + Type() = default; /** The DWARF TAG of the type (e.g. DW_TAG_array_type) */ int type = 0;