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) {