Replace implicit conversion to std::string with to_string
This commit is contained in:
+1
-1
@@ -1450,7 +1450,7 @@ TEST(StringRefTest, Ctor) {
|
||||
}
|
||||
|
||||
TEST(StringRefTest, ConvertToString) {
|
||||
std::string s = StringRef("abc");
|
||||
std::string s = StringRef("abc").to_string();
|
||||
EXPECT_EQ("abc", s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user