Merge pull request #324 from RasPat1/patch-1

The order of the operators in the struct should match the order of th…
pull/336/head
Gennadiy Rozental 6 years ago committed by GitHub
commit 310a11865c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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";

Loading…
Cancel
Save