Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline non-template free functions #16

Open
JaiganeshKumaran opened this issue Feb 2, 2022 · 0 comments
Open

Inline non-template free functions #16

JaiganeshKumaran opened this issue Feb 2, 2022 · 0 comments

Comments

@JaiganeshKumaran
Copy link

Currently, non-template free functions in CppXaml (doesn't apply to member functions and functions which are templated) aren't inline and since they're defined fully in header files, it causes an ODR violation with a linker error when there's more than one source file that uses them. Please add the inline keyword at the front to fix this.

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

No branches or pull requests

1 participant