diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-04-03 18:04:54 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-04-03 18:17:57 +0200 |
commit | a6f1f829dbad51ef0a6a5d9262e5c49e32dba45a (patch) | |
tree | a720e184d59b814e1ad339c07b3eab1b59b2f40f /include/qpdf/PointerHolder.hh | |
parent | 5806e5c60c177ecccf498a06bb2937fbf661e60b (diff) | |
download | qpdf-a6f1f829dbad51ef0a6a5d9262e5c49e32dba45a.tar.zst |
Use deleted copy/assignment (C++11)
Diffstat (limited to 'include/qpdf/PointerHolder.hh')
-rw-r--r-- | include/qpdf/PointerHolder.hh | 4 |
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: |