From cdd0b4fb7d48b32686d56364cf170569bdb0149d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 15 Apr 2022 19:44:07 -0400 Subject: Use = default and = delete where possible in classes --- TODO | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 7609b02e..0309603a 100644 --- a/TODO +++ b/TODO @@ -483,14 +483,10 @@ Comments appear in the code prefixed by "ABI" * Switch default --json to latest * See where anonymous namespaces can be used to keep things private to a source file. Search for `(class|struct)` in **/*.cc. -* See if we can use constructor delegation instead of init() in - classes with overloaded constructors. * After removing legacy QPDFNameTreeObjectHelper and QPDFNumberTreeObjectHelper constructors, NNTreeImpl can switch to having a QPDF reference and assume that the reference is always valid. -* Use `= delete` and `= default` for constructors and destructors - where possible * Having QPDFObjectHandle setters return Class& to allow for use of fluent interfaces. This includes array and dictionary mutators. -- cgit v1.2.3-54-g00ecf