]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/hobject_t: make ghobjct_t(hobject_t) ctor explicit
authorSage Weil <sage@redhat.com>
Thu, 18 Jun 2015 23:07:24 +0000 (16:07 -0700)
committerSage Weil <sage@redhat.com>
Fri, 19 Jun 2015 00:37:59 +0000 (17:37 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/hobject.h

index 11117f6e5e4edc1a963cd59067ab1d69c7cfd850..4f07cca3bca57fdd0585030da1e814b3fb2dbef4 100644 (file)
@@ -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),