mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed android build
This commit is contained in:
parent
d0e9fe1e3e
commit
7386b0a523
2 changed files with 3 additions and 3 deletions
|
@ -13,11 +13,11 @@ namespace util
|
|||
{
|
||||
|
||||
/** @brief destructor */
|
||||
virtual ~IBloomFilter();
|
||||
virtual ~IBloomFilter() {};
|
||||
/** @brief add entry to bloom filter, return false if filter hit otherwise return true */
|
||||
virtual bool Add(const uint8_t * data, std::size_t len) = 0;
|
||||
/** @brief optionally decay old entries */
|
||||
virtual void Decay();
|
||||
virtual void Decay() = 0;
|
||||
};
|
||||
|
||||
typedef std::shared_ptr<IBloomFilter> BloomFilterPtr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue