Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break dependency on google::protobuf::UTF8FirstLetterNumBytes() (#814)
Remove dependency on the `google::protobuf::UTF8FirstLetterNumBytes()` to prep for the 22.x upgrade. The UTF8 utilities were removed from protobuf in 22.x. Jump to 22.x protobuf is needed for the C++20 transition. Since the needed code was very simple I have copied the functions from the protobuf to the validate.h file. Signed-off-by: Yan Avlasov <yavlasov@google.com> Co-authored-by: Elliot Jackson <13633636+elliotmjackson@users.noreply.github.com>
- Loading branch information