ImplicitProducer is private.

This commit is contained in:
Bartosz Taudul 2018-05-08 16:27:52 +02:00
parent e2534e2bf6
commit 3432c594a9

View File

@ -687,9 +687,10 @@ inline void swap(typename ConcurrentQueue<T, Traits>::ImplicitProducerKVP& a, ty
template<typename T, typename Traits = ConcurrentQueueDefaultTraits> template<typename T, typename Traits = ConcurrentQueueDefaultTraits>
class ConcurrentQueue class ConcurrentQueue
{ {
struct ImplicitProducer;
public: public:
struct ExplicitProducer; struct ExplicitProducer;
struct ImplicitProducer;
typedef ::moodycamel::ProducerToken producer_token_t; typedef ::moodycamel::ProducerToken producer_token_t;
typedef ::moodycamel::ConsumerToken consumer_token_t; typedef ::moodycamel::ConsumerToken consumer_token_t;