Skip to content

Commit

Permalink
add operator!= for folly::IoUringOp::Options to fix compile error
Browse files Browse the repository at this point in the history
Summary:
As noted.

X-link: facebook/folly#2065

Reviewed By: Gownta

Differential Revision: D49479035

Pulled By: Orvid

fbshipit-source-id: 986a44f4320c6ecca0561ce5189cea6a8bc18379
  • Loading branch information
onchere authored and facebook-github-bot committed Sep 22, 2023
1 parent b59356a commit 52a50a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions third-party/folly/src/folly/experimental/io/IoUring.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ class IoUringOp : public AsyncBaseOp {
bool operator==(const Options& options) const {
return sqe128 == options.sqe128 && cqe32 == options.cqe32;
}

bool operator!=(const Options& options) const {
return !operator==(options);
}
};

IoUringOp(
Expand Down

0 comments on commit 52a50a7

Please sign in to comment.