mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 23:59:22 +00:00
* Cleaned up the exception classes so they require less space. This
reduced the size of the stripped libtorrent by 1/7. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@822 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -162,7 +162,7 @@ ViewManager::clear() {
|
||||
ViewManager::iterator
|
||||
ViewManager::insert(const std::string& name) {
|
||||
if (find(name) != end())
|
||||
throw torrent::client_error("ViewManager::insert(...) name already inserted.");
|
||||
throw torrent::internal_error("ViewManager::insert(...) name already inserted.");
|
||||
|
||||
View* view = new View();
|
||||
view->initialize(name, m_list);
|
||||
|
||||
Reference in New Issue
Block a user