]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove unneeded virtual declarations
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 11 Oct 2016 22:06:37 +0000 (15:06 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 9 Mar 2017 17:18:51 +0000 (09:18 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_common.h

index e54bd1b10dbcd64c781ecfd7e437a5f5a8c828ad..5cd07b5ab3abc06feef45f2b34113dbe4372b2c2 100644 (file)
@@ -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)