aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/PointerHolder.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/qpdf/PointerHolder.hh b/include/qpdf/PointerHolder.hh
index 8eaff2f6..03f0b682 100644
--- a/include/qpdf/PointerHolder.hh
+++ b/include/qpdf/PointerHolder.hh
@@ -156,9 +156,7 @@ class PointerHolder
void init(Data* data)
{
this->data = data;
- {
- ++this->data->refcount;
- }
+ ++this->data->refcount;
}
void copy(PointerHolder const& rhs)
{