Skip to content

Commit bccfc5e

Browse files
Fix IFileTree.walk yielding an extra None at the end
1 parent c6962a2 commit bccfc5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pybind11-utils/include/pybind11_utils/generator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace mo2::python {
3838
"__next__",
3939
[](state& s) -> T {
4040
if (s.it != s.g.end()) {
41-
decltype(auto) v = *s.it;
41+
T v = *s.it;
4242
s.it++;
4343
return v;
4444
}

0 commit comments

Comments
 (0)