diff options
Diffstat (limited to 'libtests/pointer_holder.cc')
-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> |