Fix building unittests failure caused by the introduction of StringView at https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3189410

Change-Id: I258863e5de6201bc24b53dbe50b4d2515d29e338
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3221513
Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Zequan Wu 2021-10-14 10:39:55 -07:00 committed by Joshua Peraza
parent db97ea1fd0
commit 6b66d136ca
3 changed files with 7 additions and 5 deletions

View file

@ -38,7 +38,8 @@
namespace google_breakpad {
// A StringView is a string reference to a string object, but not own the
// string object.
// string object. It's a compatibile layer until we can use std::string_view in
// C++17.
class StringView {
private:
// The start of the string, in an external buffer. It doesn't have to be