modernize C++: use equals delete

This commit is contained in:
wmayer
2023-08-10 12:11:56 +02:00
committed by wwmayer
parent 664c4ab1ac
commit 9f456d712b
26 changed files with 99 additions and 94 deletions

View File

@@ -133,10 +133,9 @@ public:
return fWhatToShow;
}
private:
// unimplemented copy ctor and assignment operator
DOMPrintFilter(const DOMPrintFilter&) = delete;
DOMPrintFilter & operator = (const DOMPrintFilter&);
DOMPrintFilter & operator = (const DOMPrintFilter&) = delete;
ShowType fWhatToShow;
};