Skip to content

Commit fa5f890

Browse files
author
MarcoFalke
committed
rpc: Compile on GCC4.8
1 parent 003a47f commit fa5f890

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) 2010 Satoshi Nakamoto
2-
// Copyright (c) 2009-2018 The Bitcoin Core developers
2+
// Copyright (c) 2009-2019 The Bitcoin Core developers
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

@@ -51,7 +51,7 @@ struct RPCCommandExecution
5151
explicit RPCCommandExecution(const std::string& method)
5252
{
5353
LOCK(g_rpc_server_info.mutex);
54-
it = g_rpc_server_info.active_commands.insert(g_rpc_server_info.active_commands.cend(), {method, GetTimeMicros()});
54+
it = g_rpc_server_info.active_commands.insert(g_rpc_server_info.active_commands.end(), {method, GetTimeMicros()});
5555
}
5656
~RPCCommandExecution()
5757
{

0 commit comments

Comments
 (0)