-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
ALL
-
Service arch 2020-10-19
-
0
Reaching into the absl internals is dangerous.
It's unnecessary in this case, and should be avoided.
+ #include "mongo/platform/bits.h" ... getCodePointLength - return absl::base_internal::CountLeadingZeros64(~(uint64_t(charByte) << (64 - 8))); + return countLeadingZeros64(~static_cast<unsigned char>(charByte)) - (64 - 8); }
- is caused by
-
SERVER-50753 Support $indexOfBytes and $indexOfCP in SBE
- Closed