diff options
author | Arvid Norberg <arvid@blockstream.io> | 2018-09-13 10:36:41 -0700 |
---|---|---|
committer | Arvid Norberg <arvid@blockstream.io> | 2018-09-13 10:36:41 -0700 |
commit | 3ccfa34b32b7ed9d7bef05baa36827b4b262197e (patch) | |
tree | f8a24afd1e7d6949040aff1e177b8adf7bc84f83 /src/scheduler.cpp | |
parent | f0a6a922fe64c16829649281f182dc8c5e153333 (diff) |
convert C-style (void) parameter lists to C++ style ()
Diffstat (limited to 'src/scheduler.cpp')
-rw-r--r-- | src/scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scheduler.cpp b/src/scheduler.cpp index 89dfc2b363..552391d7d0 100644 --- a/src/scheduler.cpp +++ b/src/scheduler.cpp @@ -159,7 +159,7 @@ void SingleThreadedSchedulerClient::MaybeScheduleProcessQueue() { } void SingleThreadedSchedulerClient::ProcessQueue() { - std::function<void (void)> callback; + std::function<void ()> callback; { LOCK(m_cs_callbacks_pending); if (m_are_callbacks_running) return; @@ -187,7 +187,7 @@ void SingleThreadedSchedulerClient::ProcessQueue() { callback(); } -void SingleThreadedSchedulerClient::AddToProcessQueue(std::function<void (void)> func) { +void SingleThreadedSchedulerClient::AddToProcessQueue(std::function<void ()> func) { assert(m_pscheduler); { |