Skip to content

[ML] Clean shadow warnings #46

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 9, 2018
Merged

[ML] Clean shadow warnings #46

merged 1 commit into from
Apr 9, 2018

Conversation

davidkyle
Copy link
Member

@davidkyle davidkyle commented Apr 6, 2018

-Wshadow warns if a type alias shadows another in the same cc file or header. There were a number of instances of this warning.

Also fixes a past end of array access in a COrdinalTest.cc

Copy link
Contributor

@tveasey tveasey left a comment

Choose a reason for hiding this comment

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

LGTM

@davidkyle davidkyle merged commit 796bd9d into elastic:master Apr 9, 2018
@davidkyle davidkyle deleted the shadow-warnings branch April 9, 2018 09:45
davidkyle added a commit that referenced this pull request Apr 9, 2018
The change to remove shadowed type aliases in #46 caused an error on 
Windows and Linux
davidkyle added a commit that referenced this pull request Apr 9, 2018
@sophiec20 sophiec20 added the :ml label Apr 9, 2018
droberts195 pushed a commit that referenced this pull request Apr 23, 2018
droberts195 pushed a commit that referenced this pull request Apr 23, 2018
droberts195 pushed a commit that referenced this pull request Apr 23, 2018
The change to remove shadowed type aliases in #46 caused an error on 
Windows and Linux
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.

3 participants