summaryrefslogtreecommitdiff
path: root/src/signalController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signalController.cpp')
-rw-r--r--src/signalController.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/signalController.cpp b/src/signalController.cpp
index f20b695..6a20588 100644
--- a/src/signalController.cpp
+++ b/src/signalController.cpp
@@ -71,14 +71,7 @@ int SigErrorHandler(int /*sig*/, const std::string& msg)
#endif
#endif
-void SignalController::init()
-{
- DaemonService* service = NULL;
- registerSignalHandler(*this, service);
- handler[SIGERROR] = boost::bind(SigErrorHandler, _1, _2);
-}
-
-void SignalController::init(DaemonService* service)
+void SignalController::init(DaemonService& service)
{
registerSignalHandler(*this, service);
handler[SIGERROR] = boost::bind(SigErrorHandler, _1, _2);