@@ -21,7 +21,7 @@ struct MPSCQueue
Mutex _mutex;
///
- MPSCQueue(Allocator &a)
+ explicit MPSCQueue(Allocator &a)
: _queue(a)
{
}
@@ -26,7 +26,7 @@ struct SPSCQueue
T *_queue;
- SPSCQueue(Allocator &a)
+ explicit SPSCQueue(Allocator &a)
: _tail(0)
, _head(0)
, _allocator(&a)
@@ -20,7 +20,7 @@ struct DeviceEventQueue
QueuePushFunction _queue_push_function;
- DeviceEventQueue(QueuePushFunction fn)
+ explicit DeviceEventQueue(QueuePushFunction fn)
: _queue_push_function(fn)