Browse Source

fixed android build

pull/715/merge
orignal 8 years ago
parent
commit
7386b0a523
  1. 4
      BloomFilter.h
  2. 2
      android/jni/Android.mk

4
BloomFilter.h

@ -13,11 +13,11 @@ namespace util @@ -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;

2
android/jni/Android.mk

@ -59,7 +59,7 @@ LOCAL_SRC_FILES := DaemonAndroid.cpp i2pd_android.cpp \ @@ -59,7 +59,7 @@ LOCAL_SRC_FILES := DaemonAndroid.cpp i2pd_android.cpp \
../../TunnelPool.cpp \
../../Timestamp.cpp \
../../Event.cpp \
../../BloomFiler.cpp \
../../BloomFilter.cpp \
../../util.cpp \
../../i2pd.cpp ../../UPnP.cpp

Loading…
Cancel
Save