diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-05 14:15:07 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-05 17:24:56 +0100 |
commit | 5f3f78822b5d43e9b02082da5268d186ba7101c0 (patch) | |
tree | c7d2407df01e4c622371ad290f9681a5ae99a476 /libtests/qtest | |
parent | 88c3d556d552a94aa42eaa2fa43667952e123dc8 (diff) | |
download | qpdf-5f3f78822b5d43e9b02082da5268d186ba7101c0.tar.zst |
Improve use of std::unique_ptr
* Use unique_ptr in place of shared_ptr in some cases
* unique_ptr for arrays does not require a custom deleter
* use std::make_unique (c++14) where possible
Diffstat (limited to 'libtests/qtest')
-rw-r--r-- | libtests/qtest/qutil/qutil.out | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out index 58cc2334..8bab099b 100644 --- a/libtests/qtest/qutil/qutil.out +++ b/libtests/qtest/qutil/qutil.out @@ -23,6 +23,7 @@ one 7 compare okay compare okay +compare okay -2147483648 to int: PASSED 2147483647 to int: PASSED 2147483648 to int threw (integer out of range converting 2147483648 from a 8-byte signed type to a 4-byte signed type): PASSED |