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

Public GIT Repository
remove (void) in C++
[simgrid.git] / src / mc / Type.hpp
index 5551e23278cdcb9f2427304559f4584a2e806715..d1391bd9e6cebb20e1476ab7efe3d6c9addab079 100644 (file)
@@ -33,7 +33,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 +96,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;