diff options
| author | Pavel Janík <[email protected]> | 2016-06-07 18:42:42 +0200 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2016-08-25 15:02:26 +0200 |
| commit | de1bbe3b7876e311ebba5445b7b251782c0a7e0a (patch) | |
| tree | c4908b0d4f507b82a4bd3c881ef0da1a8ba057f2 /src/rpc/register.h | |
| parent | Merge #8128: Net: Turn net structures into dumb storage classes (diff) | |
| download | discoin-de1bbe3b7876e311ebba5445b7b251782c0a7e0a.tar.xz discoin-de1bbe3b7876e311ebba5445b7b251782c0a7e0a.zip | |
Do not shadow global RPC table variable (tableRPC)
Diffstat (limited to 'src/rpc/register.h')
| -rw-r--r-- | src/rpc/register.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rpc/register.h b/src/rpc/register.h index 01aa58a25..49aee2365 100644 --- a/src/rpc/register.h +++ b/src/rpc/register.h @@ -20,13 +20,13 @@ void RegisterMiningRPCCommands(CRPCTable &tableRPC); /** Register raw transaction RPC commands */ void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC); -static inline void RegisterAllCoreRPCCommands(CRPCTable &tableRPC) +static inline void RegisterAllCoreRPCCommands(CRPCTable &t) { - RegisterBlockchainRPCCommands(tableRPC); - RegisterNetRPCCommands(tableRPC); - RegisterMiscRPCCommands(tableRPC); - RegisterMiningRPCCommands(tableRPC); - RegisterRawTransactionRPCCommands(tableRPC); + RegisterBlockchainRPCCommands(t); + RegisterNetRPCCommands(t); + RegisterMiscRPCCommands(t); + RegisterMiningRPCCommands(t); + RegisterRawTransactionRPCCommands(t); } #endif |