Skip to content

Conversation

DuoYi
Copy link
Contributor

@DuoYi DuoYi commented Jul 30, 2025

std::optional<> cannot be initialized directly by &{var}->{c_name}. adding emplace() fixed the issue.

other lines are automatically linted by vscode.

Copy link

@fomichev fomichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also regen the files? (cd generated && make) There is a bot that tries to compile the libs. I'm sure it would pass, but just in case..

std::optional<> cannot be initialized directly by &{var}->{c_name}. adding emplace() fixed the issue.
@DuoYi
Copy link
Contributor Author

DuoYi commented Jul 31, 2025

Done. Also fixed the duplicated #import lines in the generated code. PTAL.

@fomichev
Copy link

LGTM, thanks!

@kuba-moo kuba-moo merged commit b0a49dc into linux-netdev:main Jul 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants