add destructor so the spsc-queue will compile on MAC
authorBrian Demsky <bdemsky@uci.edu>
Wed, 6 Mar 2013 05:40:39 +0000 (21:40 -0800)
committerBrian Demsky <bdemsky@uci.edu>
Wed, 6 Mar 2013 05:40:39 +0000 (21:40 -0800)
conditionvariable.cc

index f79cf2a..75af879 100644 (file)
@@ -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));
 }
 void condition_variable::notify_one() {
        model->switch_to_master(new ModelAction(ATOMIC_NOTIFY_ONE, std::memory_order_seq_cst, this));
 }