From 0ddc8d10189604d5436c91adf3f2b555ff8dfc3c Mon Sep 17 00:00:00 2001 From: Onchere Bironga Date: Fri, 22 Sep 2023 12:15:09 -0700 Subject: [PATCH] add operator!= for `folly::IoUringOp::Options` to fix compile error (#2065) Summary: As noted. Pull Request resolved: https://github.com/facebook/folly/pull/2065 Reviewed By: Gownta Differential Revision: D49479035 Pulled By: Orvid fbshipit-source-id: 986a44f4320c6ecca0561ce5189cea6a8bc18379 --- folly/experimental/io/IoUring.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/experimental/io/IoUring.h b/folly/experimental/io/IoUring.h index 9d197cbbe1e..7c9f5d45d33 100644 --- a/folly/experimental/io/IoUring.h +++ b/folly/experimental/io/IoUring.h @@ -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(