From: Jan Fajerski Date: Fri, 7 Sep 2018 08:20:43 +0000 (+0200) Subject: mgr: remove PyFormatter copy constructor; shouldn't be called X-Git-Tag: v14.0.1~218^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=938189e8f280c71fbf542f5f84f57dd7a737dda6;p=ceph-ci.git mgr: remove PyFormatter copy constructor; shouldn't be called Signed-off-by: Jan Fajerski --- diff --git a/src/mgr/PyFormatter.h b/src/mgr/PyFormatter.h index 9c7d54eebbc..c58aaef43aa 100644 --- a/src/mgr/PyFormatter.h +++ b/src/mgr/PyFormatter.h @@ -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,