mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-18 23:16:37 +02:00
use generic container
This commit is contained in:
parent
dc914b1806
commit
9cb8e194b0
1 changed files with 2 additions and 1 deletions
3
Queue.h
3
Queue.h
|
@ -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…
Add table
Reference in a new issue