aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.cpp
diff options
context:
space:
mode:
authorArvid Norberg <arvid@blockstream.io>2018-09-13 10:36:41 -0700
committerArvid Norberg <arvid@blockstream.io>2018-09-13 10:36:41 -0700
commit3ccfa34b32b7ed9d7bef05baa36827b4b262197e (patch)
treef8a24afd1e7d6949040aff1e177b8adf7bc84f83 /src/rpc/server.cpp
parentf0a6a922fe64c16829649281f182dc8c5e153333 (diff)
downloadbitcoin-3ccfa34b32b7ed9d7bef05baa36827b4b262197e.tar.xz
convert C-style (void) parameter lists to C++ style ()
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r--src/rpc/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index 8f3fe31ce8..9eb55880b3 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -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");