Skip to content

[ML] Standardise on not using explicit void argument lists #34

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

Merged
merged 1 commit into from
Apr 4, 2018
Merged

[ML] Standardise on not using explicit void argument lists #34

merged 1 commit into from
Apr 4, 2018

Conversation

tveasey
Copy link
Contributor

@tveasey tveasey commented Apr 4, 2018

Following on from #32, we've started mixing explicit void and empty argument lists. For C++ they are equivalent. If we needed C headers for any of our existing functionality we'd almost certainly have to provide a wrapper API anyway. Therefore, this change switches to empty argument lists on the grounds that it is less typing.

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

@tveasey tveasey merged commit d4e4cca into elastic:master Apr 4, 2018
tveasey added a commit that referenced this pull request Apr 4, 2018
We've started mixing explicit void and empty argument lists. For C++ they are equivalent. If we
needed C headers for any of our existing functionality we'd almost certainly have to provide a
wrapper API anyway. Therefore, this change switches to empty argument lists on the grounds
that it is less typing.
droberts195 pushed a commit that referenced this pull request Apr 23, 2018
We've started mixing explicit void and empty argument lists. For C++ they are equivalent. If we
needed C headers for any of our existing functionality we'd almost certainly have to provide a
wrapper API anyway. Therefore, this change switches to empty argument lists on the grounds
that it is less typing.
droberts195 pushed a commit that referenced this pull request Apr 23, 2018
We've started mixing explicit void and empty argument lists. For C++ they are equivalent. If we 
needed C headers for any of our existing functionality we'd almost certainly have to provide a 
wrapper API anyway. Therefore, this change switches to empty argument lists on the grounds 
that it is less typing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants