mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 06:32:31 +00:00
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user