Fix snapshot code
[model-checker.git] / conditionvariable.cc
index ce33e8084f3908b181f5378f0e9565c5d6c2ad45..75af879ff63cf53e2c5675e6bc6a120f67d06782 100644 (file)
@@ -1,7 +1,7 @@
 #include <mutex>
 #include "model.h"
 #include <condition_variable>
-
+#include "action.h"
 
 namespace std {
 
@@ -9,6 +9,10 @@ condition_variable::condition_variable() {
                
 }
 
+condition_variable::~condition_variable() {
+               
+}
+
 void condition_variable::notify_one() {
        model->switch_to_master(new ModelAction(ATOMIC_NOTIFY_ONE, std::memory_order_seq_cst, this));
 }