aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_ringbuffer.h
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2017-08-31 11:46:44 +1200
committerMatthew Gregan <[email protected]>2017-08-31 11:46:44 +1200
commit6d5ba163d7c284bfd36ffc4ae7c295b5946beb65 (patch)
treee19f218ef356c10e6607c35ddd5bddafa1b31830 /src/cubeb_ringbuffer.h
parent42404c88bd636c5e8a960060bc03c0859b1d4e1b (diff)
downloadcubeb-6d5ba163d7c284bfd36ffc4ae7c295b5946beb65.tar.gz
cubeb-6d5ba163d7c284bfd36ffc4ae7c295b5946beb65.zip
Fix release builds after 42404c88.
Diffstat (limited to 'src/cubeb_ringbuffer.h')
-rw-r--r--src/cubeb_ringbuffer.h2
1 files changed, 1 insertions, 1 deletions
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
}