diff --git a/include/libtorrent/kademlia/node.hpp b/include/libtorrent/kademlia/node.hpp index d48e0c956..6612701a6 100644 --- a/include/libtorrent/kademlia/node.hpp +++ b/include/libtorrent/kademlia/node.hpp @@ -104,6 +104,8 @@ struct torrent_entry // in the DHT. struct search_torrent_entry { + search_torrent_entry(): total_tag_points(0), total_name_points(0) {} + // the tags of the torrent. The key of // this entry is the sha-1 hash of one of // these tags. The counter is the number of