Up and down on the download list working.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@250 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-01 15:26:24 +00:00
parent cd9b014eb6
commit 0ff36babee
14 changed files with 95 additions and 25 deletions
+10
View File
@@ -26,6 +26,16 @@ _accumulate<Type, Ftor> accumulate(Type& t, Ftor f) {
return _accumulate<Type, Ftor>(t, f);
}
Manager::iterator
Manager::erase(Window* w) {
iterator itr = std::find(begin(), end(), w);
if (itr == end())
throw std::logic_error("Manager::erase(...) did not find the window");
return Base::erase(itr);
}
void
Manager::adjust_layout() {
int countDynamic = 0;