diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-06 17:40:24 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-07 23:38:22 +0100 |
commit | c62e8e2b285b9b401d6add5a7a0da98c7ea86373 (patch) | |
tree | 040e8fa45d6b459200e57e26fbacad6ddd7414f1 /libtests/input_source.cc | |
parent | 3f22bea084d8d64cba1a433726abd709caf8456b (diff) | |
download | qpdf-c62e8e2b285b9b401d6add5a7a0da98c7ea86373.tar.zst |
Update for clean compile with POINTERHOLDER_TRANSITION=2
Diffstat (limited to 'libtests/input_source.cc')
-rw-r--r-- | libtests/input_source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtests/input_source.cc b/libtests/input_source.cc index 5a69f295..9e72bbf6 100644 --- a/libtests/input_source.cc +++ b/libtests/input_source.cc @@ -65,8 +65,8 @@ int main() // Overlap so that the first check() would advance past the start // of the next match memcpy(b + 2037, "potato potato salad ", 20); - PointerHolder<InputSource> is = - new BufferInputSource("test buffer input source", b1.get()); + auto is = PointerHolder<InputSource>( + new BufferInputSource("test buffer input source", b1.get())); Finder f1(is, "salad"); check("find potato salad", true, is->findFirst("potato", 0, 0, f1)); |