Commit 1b89e7684edc7af2ad4ae998bba41b40f8780c3f
1 parent
98d9ae51
Remove redundant template toO in JSON
Showing
1 changed file
with
0 additions
and
8 deletions
libqpdf/JSON.cc
| ... | ... | @@ -4,19 +4,11 @@ |
| 4 | 4 | #include <qpdf/Pl_Base64.hh> |
| 5 | 5 | #include <qpdf/Pl_Concatenate.hh> |
| 6 | 6 | #include <qpdf/Pl_String.hh> |
| 7 | -#include <qpdf/QIntC.hh> | |
| 8 | 7 | #include <qpdf/QTC.hh> |
| 9 | 8 | #include <qpdf/QUtil.hh> |
| 10 | 9 | #include <cstring> |
| 11 | 10 | #include <stdexcept> |
| 12 | 11 | |
| 13 | -template <typename T> | |
| 14 | -static qpdf_offset_t | |
| 15 | -toO(T const& i) | |
| 16 | -{ | |
| 17 | - return QIntC::to_offset(i); | |
| 18 | -} | |
| 19 | - | |
| 20 | 12 | JSON::Members::Members(std::shared_ptr<JSON_value> value) : |
| 21 | 13 | value(value), |
| 22 | 14 | start(0), | ... | ... |