mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Fix doc typo
This commit is contained in:
parent
6a2456f732
commit
4fd619818c
@ -784,7 +784,7 @@ supporting older versions of qpdf without conditional compilation.
|
|||||||
|
|
||||||
``PointerHolder`` has had a long-standing bug: a ``const
|
``PointerHolder`` has had a long-standing bug: a ``const
|
||||||
PointerHolder<T>`` would only provide a ``T const*`` with its
|
PointerHolder<T>`` would only provide a ``T const*`` with its
|
||||||
``getPointer`` method. This is incorrect and is now how standard C++
|
``getPointer`` method. This is incorrect and is not how standard C++
|
||||||
smart pointers or regular pointers behave. The correct semantics
|
smart pointers or regular pointers behave. The correct semantics
|
||||||
would be that a ``const PointerHolder<T>`` would not accept a new
|
would be that a ``const PointerHolder<T>`` would not accept a new
|
||||||
pointer after being created but would still allow you to modify the
|
pointer after being created but would still allow you to modify the
|
||||||
|
Loading…
Reference in New Issue
Block a user