cppcoreguidelines-special-member-functions

* disable move constructor and move assignment for several core classes
This commit is contained in:
wmayer
2022-06-25 17:46:48 +02:00
parent 455ed09240
commit 1459fd61a4
7 changed files with 74 additions and 0 deletions

View File

@@ -342,6 +342,12 @@ protected:
FeatureT::onDocumentRestored();
}
public:
FeaturePythonT(const FeaturePythonT&) = delete;
FeaturePythonT(FeaturePythonT&&) = delete;
FeaturePythonT& operator= (const FeaturePythonT&) = delete;
FeaturePythonT& operator= (FeaturePythonT&&) = delete;
private:
FeaturePythonImp* imp;
PropertyPythonObject Proxy;