From 47dc68c4d2d668075c07cb459f7d77f981a65d9a Mon Sep 17 00:00:00 2001 From: Onchere Bironga Date: Sun, 17 Sep 2023 18:31:28 +0300 Subject: [PATCH] add operator!= for IoUring::Options to fix compile error --- 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(