2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-05-31 17:30:54 +00:00

Add QPDFObjGen operator !=

This commit is contained in:
m-holger 2022-07-23 12:58:37 +01:00
parent bc5f0fa20b
commit 21b8625f95

View File

@ -47,13 +47,19 @@ class QPDFObjGen
bool
operator<(QPDFObjGen const& rhs) const
{
return ((obj < rhs.obj) || ((obj == rhs.obj) && (gen < rhs.gen)));
return (obj < rhs.obj) || ((obj == rhs.obj) && (gen < rhs.gen));
}
QPDF_DLL
bool
operator==(QPDFObjGen const& rhs) const
{
return ((obj == rhs.obj) && (gen == rhs.gen));
return (obj == rhs.obj) && (gen == rhs.gen);
}
QPDF_DLL
bool
operator!=(QPDFObjGen const& rhs) const
{
return (obj != rhs.obj) || (gen != rhs.gen);
}
QPDF_DLL
int