summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2016-10-12 00:06:37 +0200
committerYehuda Sadeh <yehuda@redhat.com>2017-03-09 18:18:51 +0100
commit18e8ecca093600c99568361d059ead608d10eeb2 (patch)
tree4462ff5f04851bb3cf9742e93fe907da48ce7465
parentrgw: more fixes and adjustments following rgw_pool, rgw_raw_obj (diff)
downloadceph-18e8ecca093600c99568361d059ead608d10eeb2.tar.xz
ceph-18e8ecca093600c99568361d059ead608d10eeb2.zip
rgw: remove unneeded virtual declarations
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
-rw-r--r--src/rgw/rgw_common.h2
1 files changed, 1 insertions, 1 deletions
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)