Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[s4u] Add member initializers
[simgrid.git] / src / simix / SynchroRaw.hpp
index 3c920fa..1d9345b 100644 (file)
@@ -15,11 +15,12 @@ namespace simix {
   /** Used to implement mutexes, semaphores and conditions */
   XBT_PUBLIC_CLASS Raw : public Synchro {
   public:
   /** Used to implement mutexes, semaphores and conditions */
   XBT_PUBLIC_CLASS Raw : public Synchro {
   public:
+    ~Raw() override;
     void suspend() override;
     void resume() override;
     void post() override;
 
     void suspend() override;
     void resume() override;
     void post() override;
 
-    surf_action_t sleep;
+    surf_action_t sleep = nullptr;
   };
 
 }} // namespace simgrid::simix
   };
 
 }} // namespace simgrid::simix