Open jievince opened 3 years ago
If changing it to enum class
is ok, I will make a PR to fix it.
Sure. You can call them kBegin
, etc.
I mean, send a PR to change it to:
enum class InitialPosition { kBegin, kEnd, kUnpositioned };
OK
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.