From: Yehuda Sadeh Date: Tue, 11 Oct 2016 22:06:37 +0000 (-0700) Subject: rgw: remove unneeded virtual declarations X-Git-Tag: v12.0.1~111^2~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=18e8ecca093600c99568361d059ead608d10eeb2;p=ceph-ci.git rgw: remove unneeded virtual declarations Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index e54bd1b10db..5cd07b5ab3a 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)