diff --git a/Queue.h b/Queue.h index 39d139b9..9e95b2a5 100644 --- a/Queue.h +++ b/Queue.h @@ -25,7 +25,8 @@ namespace util m_NonEmpty.notify_one (); } - void Put (const std::vector& vec) + templateclass Container, typename... R> + void Put (const Container& vec) { if (!vec.empty ()) {