Closed dneto0 closed 1 year ago
Use &text.front() instead of text.begin() to get a pointer to the first character in the view.
StringPiece::begin() yields an iterator, which we can't assume is a pointer-to-char.
Fixes: #60
Use &text.front() instead of text.begin() to get a pointer to the first character in the view.
StringPiece::begin() yields an iterator, which we can't assume is a pointer-to-char.
Fixes: #60