diff options
Diffstat (limited to 'libqpdf/QPDFObjGen.cc')
-rw-r--r-- | libqpdf/QPDFObjGen.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libqpdf/QPDFObjGen.cc b/libqpdf/QPDFObjGen.cc index 25ec8dfd..1368b0bf 100644 --- a/libqpdf/QPDFObjGen.cc +++ b/libqpdf/QPDFObjGen.cc @@ -17,8 +17,9 @@ QPDFObjGen::QPDFObjGen(int o, int g) : bool QPDFObjGen::operator<(QPDFObjGen const& rhs) const { - return ((this->obj < rhs.obj) || - ((this->obj == rhs.obj) && (this->gen < rhs.gen))); + return ( + (this->obj < rhs.obj) || + ((this->obj == rhs.obj) && (this->gen < rhs.gen))); } bool @@ -39,7 +40,8 @@ QPDFObjGen::getGen() const return this->gen; } -std::ostream& operator<<(std::ostream& os, const QPDFObjGen& og) +std::ostream& +operator<<(std::ostream& os, const QPDFObjGen& og) { os << og.obj << "," << og.gen; return os; |