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

Fix double const #1

Merged
merged 2 commits into from Nov 17, 2018
Merged

Conversation

mjlocat
Copy link

@mjlocat mjlocat commented Nov 16, 2018

Some versions of g++ (4.8.5 in my environment) show an error when coming across the keyword const twice in a row as seen in the method prototypes for set_utm_projection and set_mga_projection in crscheck.hpp. Removing the extra const makes the compiler happy. Also makes it match the actual method definition.

I've observed other compilers (clang-1000.10.44.4 on Mac from XCode) only show this as a warning and happily compiles it anyway.

@rapidlasso rapidlasso merged commit a1ac83c into LASvalidator:master Nov 17, 2018
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.

None yet

3 participants