Browse Source

use generic container

pull/779/head
orignal 8 years ago
parent
commit
9cb8e194b0
  1. 3
      Queue.h

3
Queue.h

@ -25,7 +25,8 @@ namespace util @@ -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 ())
{

Loading…
Cancel
Save