From 6d5ba163d7c284bfd36ffc4ae7c295b5946beb65 Mon Sep 17 00:00:00 2001 From: Matthew Gregan Date: Thu, 31 Aug 2017 11:46:44 +1200 Subject: Fix release builds after 42404c88. --- src/cubeb_ringbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cubeb_ringbuffer.h') diff --git a/src/cubeb_ringbuffer.h b/src/cubeb_ringbuffer.h index d40f2ff..b6696e8 100644 --- a/src/cubeb_ringbuffer.h +++ b/src/cubeb_ringbuffer.h @@ -233,7 +233,7 @@ public: */ void reset_thread_ids() { -#ifndef DEBUG +#ifndef NDEBUG consumer_id = producer_id = std::thread::id(); #endif } -- cgit v1.2.3