fix warning in python bindings

This commit is contained in:
Arvid Norberg
2020-12-15 02:48:09 +01:00
committed by Arvid Norberg
parent 3bec2a4a65
commit 079f2b6a1e
+1 -1
View File
@@ -300,7 +300,7 @@ struct bitfield_to_list
static PyObject* convert(T const& v)
{
list ret;
for (auto const& i : v)
for (auto const i : v)
ret.append(i);
return incref(ret.ptr());
}