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

Separate point, tripoint into new point.h #31892

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

It never made sense that point and tripoint were in enums.h.

Describe the solution

Give them their own header point.h.

Describe alternatives you've considered

I only added headers as need to compile. This would be cleaned up a lot by another IWYU run, but I don't want to do that on this PR.

There's a reasonable change more #includes will be needed on other platforms, so be sure to give Travis a chance to discover that.

Additional context

The first step in my project to add coordinate-system type safety to these types.

@ZhilkinSerg ZhilkinSerg added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Jun 26, 2019
It never made sense that point and tripoint were in enums.h.  Give them
their own header.
@ZhilkinSerg ZhilkinSerg self-assigned this Jun 27, 2019
@ZhilkinSerg ZhilkinSerg merged commit c9c28d5 into CleverRaven:master Jun 27, 2019
@ZhilkinSerg ZhilkinSerg removed their assignment Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants