mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
convert C-style (void) parameter lists to C++ style ()
This commit is contained in:
parent
f0a6a922fe
commit
3ccfa34b32
16 changed files with 27 additions and 27 deletions
|
|
@ -540,7 +540,7 @@ void RPCUnsetTimerInterface(RPCTimerInterface *iface)
|
|||
timerInterface = nullptr;
|
||||
}
|
||||
|
||||
void RPCRunLater(const std::string& name, std::function<void(void)> func, int64_t nSeconds)
|
||||
void RPCRunLater(const std::string& name, std::function<void()> func, int64_t nSeconds)
|
||||
{
|
||||
if (!timerInterface)
|
||||
throw JSONRPCError(RPC_INTERNAL_ERROR, "No timer handler registered for RPC");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue