Commit 038dd2d5ee521d41b2d2e71eea96c3858c5b6d4e

Authored by Jay Berkenbilt
1 parent 5d26f29e

Remove uninitialized error idea

QPDFObjectHandle gets copied a lot, so let's not add another field.
For performance reasons, QPDFObjectHandle does not indirect through a
smart pointer, so this would also be an ABI change.
Showing 1 changed file with 0 additions and 10 deletions
... ... @@ -11,16 +11,6 @@ Next
11 11  
12 12 * Consider creating a qpdf wiki. See also Documentation below.
13 13  
14   -* For QPDFObjectHandle, provide a way on and after construction
15   - to specify the error message that will be thrown if the
16   - uninitialized object is accessed. Attach this to the trailer or any
17   - other uninitialized object handle that might be returned. Explain in
18   - getTrailer() that we don't explicitly check since the trailer is
19   - only uninitialized when the user doesn't call a process method, and
20   - adding a check for every call will be expensive. Make sure the error
21   - thrown when an uninitialized trailer is accessed provides useful
22   - information. Test from the C API as well as the C++ API.
23   -
24 14 Documentation
25 15 =============
26 16  
... ...