summaryrefslogtreecommitdiffstats
path: root/include/qpdf/PointerHolder.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-04-03 18:04:54 +0200
committerJay Berkenbilt <ejb@ql.org>2020-04-03 18:17:57 +0200
commita6f1f829dbad51ef0a6a5d9262e5c49e32dba45a (patch)
treea720e184d59b814e1ad339c07b3eab1b59b2f40f /include/qpdf/PointerHolder.hh
parent5806e5c60c177ecccf498a06bb2937fbf661e60b (diff)
downloadqpdf-a6f1f829dbad51ef0a6a5d9262e5c49e32dba45a.tar.zst
Use deleted copy/assignment (C++11)
Diffstat (limited to 'include/qpdf/PointerHolder.hh')
-rw-r--r--include/qpdf/PointerHolder.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/PointerHolder.hh b/include/qpdf/PointerHolder.hh
index 03f0b682..48b99a30 100644
--- a/include/qpdf/PointerHolder.hh
+++ b/include/qpdf/PointerHolder.hh
@@ -78,8 +78,8 @@ class PointerHolder
bool array;
int refcount;
private:
- Data(Data const&);
- Data& operator=(Data const&);
+ Data(Data const&) = delete;
+ Data& operator=(Data const&) = delete;
};
public: