• 1. Make class final
    2. Pass og parameter by value
    3. Properly initialize qpdf and og
    
    Also, tweak QPDF::replaceObject to allow stream replacement without
    violating the requirement that streams must always be indirect objects.
    
    Also, remove QPDF::reserveStream as it does not do what the name implies
    and having this as a separate methods does not aid code readability.
    m-holger authored
     
    Browse Code »

















  • libtests: include cstdint for GCC 15
    Jay Berkenbilt authored
     
    Browse Code »
  • GCC 15 starts to no longer include this by default, requiring it to be
    explicitly included.
    
    Error message:
    libtests/cxx11.cc:75:16: error: ‘uint8_t’ was not declared in this scope
       75 |     check_size<uint8_t>(1, false);
          |                ^~~~~~~
    libtests/cxx11.cc:10:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
        9 | #include <regex>
      +++ |+#include <cstdint>
       10 | #include <type_traits>
    
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Christopher Fore authored
     
    Browse Code »