diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-06 15:19:56 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-07 23:38:20 +0100 |
commit | dd4f30226f3d4738e198dfcb944ce4cdc7e50a86 (patch) | |
tree | 3f9aaec5429e4c744e2df44e7ef027d2f016ff70 /libtests | |
parent | df2f5c6a360bd7512d2280aa9cb582bc0aa622bd (diff) | |
download | qpdf-dd4f30226f3d4738e198dfcb944ce4cdc7e50a86.tar.zst |
Rework PointerHolder transition to make it smoother
* Don't surprise people with deprecation warnings
* Provide detailed instructions and support for the transition
Diffstat (limited to 'libtests')
-rw-r--r-- | libtests/pointer_holder.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libtests/pointer_holder.cc b/libtests/pointer_holder.cc index 87c1fa07..3db2241a 100644 --- a/libtests/pointer_holder.cc +++ b/libtests/pointer_holder.cc @@ -1,4 +1,8 @@ -#define NO_POINTERHOLDER_DEPRECATION // we need to test the deprecated API +// We need to test the deprecated API +#ifdef POINTERHOLDER_TRANSITION +# undef POINTERHOLDER_TRANSITION +#endif +#define POINTERHOLDER_TRANSITION 0 #include <qpdf/PointerHolder.hh> #include <iostream> |