mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
Add QPDFObjGen operator !=
This commit is contained in:
parent
bc5f0fa20b
commit
21b8625f95
@ -47,13 +47,19 @@ class QPDFObjGen
|
|||||||
bool
|
bool
|
||||||
operator<(QPDFObjGen const& rhs) const
|
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
|
QPDF_DLL
|
||||||
bool
|
bool
|
||||||
operator==(QPDFObjGen const& rhs) const
|
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
|
QPDF_DLL
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user