From 7ee05d0cce29addaf73326e0eeac08bc7eb39e79 Mon Sep 17 00:00:00 2001 From: Brian Demsky Date: Tue, 5 Mar 2013 21:40:39 -0800 Subject: [PATCH] add destructor so the spsc-queue will compile on MAC --- conditionvariable.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conditionvariable.cc b/conditionvariable.cc index f79cf2a..75af879 100644 --- a/conditionvariable.cc +++ b/conditionvariable.cc @@ -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)); } -- 2.34.1