diff options
Diffstat (limited to 'absl')
-rw-r--r-- | absl/types/variant_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/types/variant_test.cc b/absl/types/variant_test.cc index d702482768a4..2efaf21e4106 100644 --- a/absl/types/variant_test.cc +++ b/absl/types/variant_test.cc @@ -1793,8 +1793,8 @@ TEST(VariantTest, VisitSimple) { EXPECT_EQ("B", piece); struct StrLen { - int operator()(const std::string& s) const { return s.size(); } int operator()(const char* s) const { return strlen(s); } + int operator()(const std::string& s) const { return s.size(); } }; v = "SomeStr"; |