diff options
Diffstat (limited to 'brillo/asynchronous_signal_handler_interface.h')
-rw-r--r-- | brillo/asynchronous_signal_handler_interface.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/brillo/asynchronous_signal_handler_interface.h b/brillo/asynchronous_signal_handler_interface.h index 7bae444..ef0012d 100644 --- a/brillo/asynchronous_signal_handler_interface.h +++ b/brillo/asynchronous_signal_handler_interface.h @@ -20,8 +20,7 @@ class BRILLO_EXPORT AsynchronousSignalHandlerInterface { virtual ~AsynchronousSignalHandlerInterface() = default; // The callback called when a signal is received. - using SignalHandler = - base::RepeatingCallback<bool(const struct signalfd_siginfo&)>; + using SignalHandler = base::Callback<bool(const struct signalfd_siginfo&)>; // Register a new handler for the given |signal|, replacing any previously // registered handler. |callback| will be called on the thread the |