mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
Remove redundant template toO in JSON
This commit is contained in:
parent
98d9ae51fc
commit
1b89e7684e
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user