Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Typedef.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 18 Feb 2021 22:02:38 +0000 (23:02 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 19 Feb 2021 09:19:02 +0000 (10:19 +0100)
src/mc/api.hpp
src/mc/udpor_global.hpp

index 191a213..b2a5e8c 100644 (file)
@@ -25,7 +25,7 @@ struct s_transition_detail {
   RemotePtr<kernel::activity::ActivityImpl> comm_remote_addr {}; // the communication this transition concerns (to be used only for isend, ireceive, wait and test)
 };
 
-typedef std::unique_ptr<s_transition_detail> transition_detail_t;
+using transition_detail_t = std::unique_ptr<s_transition_detail>;
 
 /*
 ** This class aimes to implement FACADE APIs for simgrid. The FACADE layer sits between the CheckerSide
index a1d65b7..e49fcf0 100644 (file)
@@ -29,11 +29,11 @@ public:
   static EventSet plus(EventSet events, UnfoldingEvent* e);
 };
 
-typedef struct s_evset_in {
+struct s_evset_in_t {
   EventSet causuality_events;
   EventSet cause;
   EventSet ancestorSet;
-} s_evset_in_t;
+};
 
 class Configuration {
 public: