mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
Add QPDFObjGen operator !=
This commit is contained in:
parent
bc5f0fa20b
commit
21b8625f95
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user