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

Keyword 'inline' is useless when member functions are defined in headers #87

Merged
merged 1 commit into from
Jun 13, 2015
Merged

Conversation

ahamez
Copy link
Contributor

@ahamez ahamez commented Jun 12, 2015

See https://isocpp.org/wiki/faq/inline-functions#inline-member-fns-more. It won't change anything to behavior or linkage, but it makes the code a bit smaller :-)

nlohmann added a commit that referenced this pull request Jun 13, 2015
Keyword 'inline' is useless when member functions are defined in headers
@nlohmann nlohmann merged commit a833989 into nlohmann:master Jun 13, 2015
@nlohmann
Copy link
Owner

Thanks!

nlohmann added a commit that referenced this pull request Jun 13, 2015
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