diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-01-24 19:54:46 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-01-27 12:33:23 -0500 |
commit | fa5f890aeb90a4d2a88b3b126530a1358651369a (patch) | |
tree | b245354887ee3d924925b736e3d001c112552645 | |
parent | 003a47f804b1c66661fbe9a3ccef431d5e300282 (diff) |
rpc: Compile on GCC4.8
-rw-r--r-- | src/rpc/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index edaf64f3e1..00187931e7 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -1,5 +1,5 @@ // 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 // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -51,7 +51,7 @@ struct RPCCommandExecution explicit RPCCommandExecution(const std::string& method) { 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() { |