Replace implicit conversion to std::string with to_string

This commit is contained in:
vitaut
2015-06-17 07:59:41 -07:00
parent 147e5ebbbc
commit e39490500c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);
}