mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-26 08:41:50 +00:00
use generic container
This commit is contained in:
parent
dc914b1806
commit
9cb8e194b0
3
Queue.h
3
Queue.h
@ -25,7 +25,8 @@ namespace util
|
|||||||
m_NonEmpty.notify_one ();
|
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 ())
|
if (!vec.empty ())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user