]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr: remove PyFormatter copy constructor; shouldn't be called
authorJan Fajerski <jfajerski@suse.com>
Fri, 7 Sep 2018 08:20:43 +0000 (10:20 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 7 Sep 2018 11:01:37 +0000 (13:01 +0200)
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/mgr/PyFormatter.h

index 9c7d54eebbc46470668f56cfe5839c8e34e74df1..c58aaef43aae7d5f301913678668b6782408c282 100644 (file)
@@ -30,6 +30,8 @@
 class PyFormatter : public ceph::Formatter
 {
 public:
+  PyFormatter (const PyFormatter&) = delete;
+  PyFormatter& operator= (const PyFormatter&) = delete;
   PyFormatter(bool pretty = false, bool array = false)
   {
     // It is forbidden to instantiate me outside of the GIL,