From c42fa9f20c81e551e63dbc1970186461e102f39c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 20 Aug 2016 18:27:43 +0900 Subject: [PATCH] Revert "Remove false assertion" This reverts commit 65b7205dfdc182a0d6a694547b2d5710dfd7466d. --- src/DefaultPeerStorage.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DefaultPeerStorage.cc b/src/DefaultPeerStorage.cc index 1fa5beac..0f5baa65 100644 --- a/src/DefaultPeerStorage.cc +++ b/src/DefaultPeerStorage.cc @@ -67,6 +67,7 @@ DefaultPeerStorage::DefaultPeerStorage() DefaultPeerStorage::~DefaultPeerStorage() { + assert(uniqPeers_.size() == unusedPeers_.size() + usedPeers_.size()); } size_t DefaultPeerStorage::countAllPeer() const