add destructor so the spsc-queue will compile on MAC
[model-checker.git] / conditionvariable.cc
index 5bd0beb..75af879 100644 (file)
@@ -1,7 +1,7 @@
 #include <mutex>
 #include "model.h"
-#include "conditionvariable.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));
 }