mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-31 06:22:35 +02:00
rpc: Compile on GCC4.8
This commit is contained in:
parent
003a47f804
commit
fa5f890aeb
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2010 Satoshi Nakamoto
|
// Copyright (c) 2010 Satoshi Nakamoto
|
||||||
// Copyright (c) 2009-2018 The Bitcoin Core developers
|
// Copyright (c) 2009-2019 The Bitcoin Core developers
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ struct RPCCommandExecution
|
|||||||
explicit RPCCommandExecution(const std::string& method)
|
explicit RPCCommandExecution(const std::string& method)
|
||||||
{
|
{
|
||||||
LOCK(g_rpc_server_info.mutex);
|
LOCK(g_rpc_server_info.mutex);
|
||||||
it = g_rpc_server_info.active_commands.insert(g_rpc_server_info.active_commands.cend(), {method, GetTimeMicros()});
|
it = g_rpc_server_info.active_commands.insert(g_rpc_server_info.active_commands.end(), {method, GetTimeMicros()});
|
||||||
}
|
}
|
||||||
~RPCCommandExecution()
|
~RPCCommandExecution()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user