Commit 4fd619818c30fb55b144675d3e5d2c83728e6976

Authored by Jay Berkenbilt
1 parent 6a2456f7

Fix doc typo

Showing 1 changed file with 1 additions and 1 deletions
manual/design.rst
@@ -784,7 +784,7 @@ supporting older versions of qpdf without conditional compilation. @@ -784,7 +784,7 @@ supporting older versions of qpdf without conditional compilation.
784 784
785 ``PointerHolder`` has had a long-standing bug: a ``const 785 ``PointerHolder`` has had a long-standing bug: a ``const
786 PointerHolder<T>`` would only provide a ``T const*`` with its 786 PointerHolder<T>`` would only provide a ``T const*`` with its
787 -``getPointer`` method. This is incorrect and is now how standard C++ 787 +``getPointer`` method. This is incorrect and is not how standard C++
788 smart pointers or regular pointers behave. The correct semantics 788 smart pointers or regular pointers behave. The correct semantics
789 would be that a ``const PointerHolder<T>`` would not accept a new 789 would be that a ``const PointerHolder<T>`` would not accept a new
790 pointer after being created but would still allow you to modify the 790 pointer after being created but would still allow you to modify the