We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
eg. In s2shape_index.h:
enum InitialPosition { BEGIN, END, UNPOSITIONED };
Such an enum name like BEGIN is very common, so it is easy to have the same name with a macro or other enum, which will cause conflict.
BEGIN
The text was updated successfully, but these errors were encountered:
If changing it to enum class is ok, I will make a PR to fix it.
enum class
Sorry, something went wrong.
Sure. You can call them kBegin, etc.
kBegin
I mean, send a PR to change it to:
enum class InitialPosition { kBegin, kEnd, kUnpositioned };
OK
No branches or pull requests
eg. In s2shape_index.h:
Such an enum name like
BEGIN
is very common, so it is easy to have the same name with a macro or other enum, which will cause conflict.The text was updated successfully, but these errors were encountered: