* Added VariableBool.

* Added views for downloads, that can be sorted.

* Added options "view_add", "view_sort" and "view_new".


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@671 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-04-22 23:16:08 +00:00
parent c4256079ae
commit 11c842308a
23 changed files with 701 additions and 148 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ VariableMap::insert(const std::string& key, Variable* v) {
}
const VariableMap::mapped_type&
VariableMap::get(const std::string& key) {
iterator itr = base_type::find(key);
VariableMap::get(const std::string& key) const {
const_iterator itr = base_type::find(key);
if (itr == base_type::end())
throw torrent::input_error("Variable \"" + key + "\" does not exist.");