* Minor bug fixes and cleanup.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@507 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-07-25 00:33:00 +00:00
parent e877d3487b
commit a3521e974d
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -54,6 +54,9 @@ Manager::erase(Bindings* b) {
throw std::logic_error("Manager::erase(...) could not find binding");
Base::erase(itr);
if (std::find(begin(), end(), b) != end())
throw std::logic_error("Manager::erase(...) found duplicate bindings");
}
void