From e2534e2bf6b836c1a3dfcef52e929d844415a770 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 8 May 2018 12:26:47 +0200 Subject: [PATCH] Forward declare explicit and implicit producers. --- client/concurrentqueue.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/concurrentqueue.h b/client/concurrentqueue.h index 074dc2f2..c31c7d03 100644 --- a/client/concurrentqueue.h +++ b/client/concurrentqueue.h @@ -688,6 +688,9 @@ template class ConcurrentQueue { public: + struct ExplicitProducer; + struct ImplicitProducer; + typedef ::moodycamel::ProducerToken producer_token_t; typedef ::moodycamel::ConsumerToken consumer_token_t;