commit | c134b8e1f742bf1daec32e0628301258b0ec3fe6 | [log] [tgz] |
---|---|---|
author | Paul Wankadia <[email protected]> | Thu Feb 08 07:55:51 2018 -0800 |
committer | Paul Wankadia <[email protected]> | Thu Feb 08 15:59:40 2018 +0000 |
tree | 0213f509392217ff2cd2e816255ad3e3b04633d5 | |
parent | 80da6456492db71cfc60802a08e9b116dec18472 [diff] [blame] |
Stop using StringPiece::ToString(). Change-Id: Ia03c4bcce55d2784df9c4527e56bd5d4129cc9d5 Reviewed-on: https://code-review.googlesource.com/23010 Reviewed-by: Paul Wankadia <[email protected]>
diff --git a/re2/testing/string_generator_test.cc b/re2/testing/string_generator_test.cc index 1f10a80..2c040a3 100644 --- a/re2/testing/string_generator_test.cc +++ b/re2/testing/string_generator_test.cc
@@ -47,7 +47,7 @@ } while (g.HasNext()) { - string s = g.Next().ToString(); + string s = string(g.Next()); n++; // Check that all characters in s appear in alphabet.