From 18e8ecca093600c99568361d059ead608d10eeb2 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 11 Oct 2016 15:06:37 -0700 Subject: [PATCH] rgw: remove unneeded virtual declarations Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index e54bd1b10dbcd..5cd07b5ab3abc 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -789,7 +789,7 @@ struct rgw_pool { return (compare(p) == 0); } bool operator!=(const rgw_pool& p) const { - return (*this != p); + return !(*this == p); } }; WRITE_CLASS_ENCODER(rgw_pool) -- 2.39.5