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
…2065)

Summary:
As noted.

Pull Request resolved: #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 3fa48f0 commit 0ddc8d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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 0ddc8d1

Please sign in to comment.