mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-18 23:26:17 +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");
|
throw std::logic_error("Manager::erase(...) could not find binding");
|
||||||
|
|
||||||
Base::erase(itr);
|
Base::erase(itr);
|
||||||
|
|
||||||
|
if (std::find(begin(), end(), b) != end())
|
||||||
|
throw std::logic_error("Manager::erase(...) found duplicate bindings");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#ifndef RTORRENT_SIGNAL_HANDLER_H
|
#ifndef RTORRENT_SIGNAL_HANDLER_H
|
||||||
#define RTORRENT_SIGNAL_HANDLER_H
|
#define RTORRENT_SIGNAL_HANDLER_H
|
||||||
|
|
||||||
#include <signal.h>
|
#include <sys/signal.h>
|
||||||
#include <sigc++/slot.h>
|
#include <sigc++/slot.h>
|
||||||
|
|
||||||
class SignalHandler {
|
class SignalHandler {
|
||||||
|
|||||||
Reference in New Issue
Block a user