Skip to content

Conversation

tindy2013
Copy link
Contributor

@tindy2013 tindy2013 commented Aug 26, 2020

Suppress missing initializer for member 'inja::FunctionStorage::FunctionData::callback' warnings by adding a constructor with empty default value to callback.

@pantor
Copy link
Owner

pantor commented Aug 26, 2020

Out of curiosity, where did you get those warnings?

@tindy2013
Copy link
Contributor Author

image
These warnings will appear with the -Wextra flag.

@pantor
Copy link
Owner

pantor commented Aug 26, 2020

Ah I see, looks good to me. Thanks!

@pantor pantor merged commit dacf8e8 into pantor:master Aug 26, 2020
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.

2 participants