Skip to content

Commit

Permalink
fixed android build
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Dec 9, 2016
1 parent d0e9fe1 commit 7386b0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BloomFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion android/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7386b0a

Please sign in to comment.