diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-01-28 11:42:29 +0100 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-02-04 15:06:26 +0100 |
commit | 1b89e7684edc7af2ad4ae998bba41b40f8780c3f (patch) | |
tree | 8a45d24a70cc9b87efd43f82ffac0fbf72055e88 /libqpdf | |
parent | 98d9ae51fc4e1a6967b52e7708f6ddc66c684276 (diff) | |
download | qpdf-1b89e7684edc7af2ad4ae998bba41b40f8780c3f.tar.zst |
Remove redundant template toO in JSON
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/JSON.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libqpdf/JSON.cc b/libqpdf/JSON.cc index b057bfdd..b972d8aa 100644 --- a/libqpdf/JSON.cc +++ b/libqpdf/JSON.cc @@ -4,19 +4,11 @@ #include <qpdf/Pl_Base64.hh> #include <qpdf/Pl_Concatenate.hh> #include <qpdf/Pl_String.hh> -#include <qpdf/QIntC.hh> #include <qpdf/QTC.hh> #include <qpdf/QUtil.hh> #include <cstring> #include <stdexcept> -template <typename T> -static qpdf_offset_t -toO(T const& i) -{ - return QIntC::to_offset(i); -} - JSON::Members::Members(std::shared_ptr<JSON_value> value) : value(value), start(0), |