runtime: update iterator usage
This commit is contained in:
@@ -56,10 +56,10 @@ static enum bshell_status write_value(
|
||||
return BSHELL_SUCCESS;
|
||||
}
|
||||
|
||||
fx_iterator *it = fx_iterator_begin(container);
|
||||
const fx_iterator *it = fx_iterator_begin(container);
|
||||
fx_foreach(v, it)
|
||||
{
|
||||
fx_array_push_back(dest, fx_value_copy_return(v));
|
||||
fx_array_push_back(dest, fx_value_ref_copy_return(v));
|
||||
}
|
||||
fx_iterator_unref(it);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user