convert C-style (void) parameter lists to C++ style ()

This commit is contained in:
Arvid Norberg
2018-09-13 10:36:41 -07:00
parent f0a6a922fe
commit 3ccfa34b32
16 changed files with 27 additions and 27 deletions

View File

@@ -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");