aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFAcroFormDocumentHelper.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-16 01:44:07 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-16 17:39:14 +0200
commitcdd0b4fb7d48b32686d56364cf170569bdb0149d (patch)
treeb094c966b33575eb9f2e441d1705990f45539bec /include/qpdf/QPDFAcroFormDocumentHelper.hh
parent2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (diff)
downloadqpdf-cdd0b4fb7d48b32686d56364cf170569bdb0149d.tar.zst
Use = default and = delete where possible in classes
Diffstat (limited to 'include/qpdf/QPDFAcroFormDocumentHelper.hh')
-rw-r--r--include/qpdf/QPDFAcroFormDocumentHelper.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/qpdf/QPDFAcroFormDocumentHelper.hh b/include/qpdf/QPDFAcroFormDocumentHelper.hh
index 5347dcd9..690aecfd 100644
--- a/include/qpdf/QPDFAcroFormDocumentHelper.hh
+++ b/include/qpdf/QPDFAcroFormDocumentHelper.hh
@@ -85,9 +85,7 @@ class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper
QPDF_DLL
QPDFAcroFormDocumentHelper(QPDF&);
QPDF_DLL
- virtual ~QPDFAcroFormDocumentHelper()
- {
- }
+ virtual ~QPDFAcroFormDocumentHelper() = default;
// This class lazily creates an internal cache of the mapping
// among form fields, annotations, and pages. Methods within this
@@ -291,11 +289,11 @@ class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper
public:
QPDF_DLL
- ~Members();
+ ~Members() = default;
private:
Members();
- Members(Members const&);
+ Members(Members const&) = delete;
bool cache_valid;
std::map<QPDFObjGen, std::vector<QPDFAnnotationObjectHelper>>