diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-05-21 19:35:09 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-05-21 19:35:09 +0200 |
commit | 60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 (patch) | |
tree | a707602da466c02ff1a54b3263c3a881cd7204a4 /libqpdf/PDFVersion.cc | |
parent | 6b077332d38c093de2618d5e1481b42222106065 (diff) | |
download | qpdf-60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2.tar.zst |
Rerun clang-format
Diffstat (limited to 'libqpdf/PDFVersion.cc')
-rw-r--r-- | libqpdf/PDFVersion.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libqpdf/PDFVersion.cc b/libqpdf/PDFVersion.cc index a2b807c6..d093b068 100644 --- a/libqpdf/PDFVersion.cc +++ b/libqpdf/PDFVersion.cc @@ -7,8 +7,7 @@ PDFVersion::PDFVersion() : { } -PDFVersion::PDFVersion( - int major_version, int minor_version, int extension_level) : +PDFVersion::PDFVersion(int major_version, int minor_version, int extension_level) : major_version(major_version), minor_version(minor_version), extension_level(extension_level) @@ -31,8 +30,7 @@ bool PDFVersion::operator==(PDFVersion const& rhs) const { return ( - (this->major_version == rhs.major_version) && - (this->minor_version == rhs.minor_version) && + (this->major_version == rhs.major_version) && (this->minor_version == rhs.minor_version) && (this->extension_level == rhs.extension_level)); } @@ -48,8 +46,7 @@ void PDFVersion::getVersion(std::string& version, int& extension_level) const { extension_level = this->extension_level; - version = std::to_string(this->major_version) + "." + - std::to_string(this->minor_version); + version = std::to_string(this->major_version) + "." + std::to_string(this->minor_version); } int |