UniValue::getValues const reference

This commit is contained in:
Jack Grigg
2017-02-10 00:33:34 +00:00
parent 2cc6bab201
commit c24109ecc3

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());
}
}