mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Use list initialization (C++11) for maps/vectors instead of boost::assign::map_list_of/list_of
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
|
||||
#include <univalue.h>
|
||||
|
||||
#include <boost/assign/list_of.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
std::string static EncodeDumpTime(int64_t nTime) {
|
||||
@@ -1070,7 +1069,7 @@ UniValue importmulti(const JSONRPCRequest& mainRequest)
|
||||
|
||||
// clang-format on
|
||||
|
||||
RPCTypeCheck(mainRequest.params, boost::assign::list_of(UniValue::VARR)(UniValue::VOBJ));
|
||||
RPCTypeCheck(mainRequest.params, {UniValue::VARR, UniValue::VOBJ});
|
||||
|
||||
const UniValue& requests = mainRequest.params[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user