Skip to content

Commit

Permalink
Rename IOBufEqual to IOBufEqualTo
Browse files Browse the repository at this point in the history
Summary: [Folly] Rename `IOBufEqual` to `IOBufEqualTo` to correspond with the standard naming of `std::equal_to`.

Reviewed By: Orvid

Differential Revision: D7596716

fbshipit-source-id: 2e87aa4b62a002520bdd53b5b7eaba7d9bd822da
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Apr 12, 2018
1 parent 033d887 commit 4ec7b95
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -304,7 +304,7 @@ TEST(CarbonMessageConversionUtils, fromFollyDynamic_Complex) {
r.testLongString());
const folly::IOBuf expectedIobuf(
folly::IOBuf::CopyBufferOp(), folly::StringPiece("iobuf string here..."));
EXPECT_TRUE(folly::IOBufEqual()(expectedIobuf, r.testIobuf()));
EXPECT_TRUE(folly::IOBufEqualTo()(expectedIobuf, r.testIobuf()));

EXPECT_EQ(7, r.testStruct().int32Member());
EXPECT_EQ("I'm nested!", r.testStruct().stringMember());
Expand Down

0 comments on commit 4ec7b95

Please sign in to comment.