From: Sage Weil Date: Thu, 18 Jun 2015 23:07:24 +0000 (-0700) Subject: common/hobject_t: make ghobjct_t(hobject_t) ctor explicit X-Git-Tag: v9.0.3~52^2~3^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=46d8d07c353d81a49504194054da3878fade0662;p=ceph.git common/hobject_t: make ghobjct_t(hobject_t) ctor explicit Signed-off-by: Sage Weil --- diff --git a/src/common/hobject.h b/src/common/hobject.h index 11117f6e5e4..4f07cca3bca 100644 --- a/src/common/hobject.h +++ b/src/common/hobject.h @@ -273,7 +273,7 @@ public: shard_id(shard_id_t::NO_SHARD), max(false) {} - ghobject_t(const hobject_t &obj) + explicit ghobject_t(const hobject_t &obj) : hobj(obj), generation(NO_GEN), shard_id(shard_id_t::NO_SHARD),