]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG.h: mark copy ctor explicit
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 24 Mar 2015 09:06:42 +0000 (10:06 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 15 Apr 2015 10:24:12 +0000 (12:24 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/osd/PG.h

index 6415e1c0790d90b55ee3b7e9e4c1f4a28b71cd28..3f1b2d93a21ddd24903319c0d0d335ccec0020da 100644 (file)
@@ -2004,7 +2004,7 @@ public:
 
  private:
   // Prevent copying
-  PG(const PG& rhs);
+  explicit PG(const PG& rhs);
   PG& operator=(const PG& rhs);
   const spg_t pg_id;
   uint64_t peer_features;