use generic container

This commit is contained in:
orignal 2017-01-16 15:58:05 -05:00
parent dc914b1806
commit 9cb8e194b0

View file

@ -25,7 +25,8 @@ namespace util
m_NonEmpty.notify_one ();
}
void Put (const std::vector<Element>& vec)
template<template<typename, typename...>class Container, typename... R>
void Put (const Container<Element, R...>& vec)
{
if (!vec.empty ())
{