UniValue::getValues const reference

This commit is contained in:
Jack Grigg 2017-02-10 00:33:34 +00:00
parent 2cc6bab201
commit c24109ecc3
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with 1 additions and 1 deletions

View File

@ -3183,7 +3183,7 @@ UniValue z_getoperationstatus_IMPL(const UniValue& params, bool fRemoveFinishedO
std::set<AsyncRPCOperationId> filter;
if (params.size()==1) {
UniValue ids = params[0].get_array();
for (UniValue & v : ids.getValues()) {
for (const UniValue & v : ids.getValues()) {
filter.insert(v.get_str());
}
}