diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-23 13:46:23 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-23 13:46:23 +0200 |
commit | 85c23b26de7d8161729abfa3bc94915645192087 (patch) | |
tree | 6dad5b28768122e80d24645a0c8e3148e5c30c7d /launcher/Version.h | |
parent | 095de5ed4ba373a44211ae3eb616139c69a0151a (diff) | |
download | PrismLauncher-85c23b26de7d8161729abfa3bc94915645192087.tar.gz PrismLauncher-85c23b26de7d8161729abfa3bc94915645192087.tar.bz2 PrismLauncher-85c23b26de7d8161729abfa3bc94915645192087.zip |
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/Version.h')
-rw-r--r-- | launcher/Version.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/launcher/Version.h b/launcher/Version.h index 92bff9ba..9c043b01 100644 --- a/launcher/Version.h +++ b/launcher/Version.h @@ -103,14 +103,8 @@ class Version { QString m_fullString; - [[nodiscard]] inline bool isAppendix() const - { - return m_stringPart.startsWith('+'); - } - [[nodiscard]] inline bool isPreRelease() const - { - return m_stringPart.startsWith('-') && m_stringPart.length() > 1; - } + [[nodiscard]] inline bool isAppendix() const { return m_stringPart.startsWith('+'); } + [[nodiscard]] inline bool isPreRelease() const { return m_stringPart.startsWith('-') && m_stringPart.length() > 1; } inline bool operator==(const Section& other) const { @@ -156,14 +150,8 @@ class Version { return m_fullString < other.m_fullString; } - inline bool operator!=(const Section& other) const - { - return !(*this == other); - } - inline bool operator>(const Section& other) const - { - return !(*this < other || *this == other); - } + inline bool operator!=(const Section& other) const { return !(*this == other); } + inline bool operator>(const Section& other) const { return !(*this < other || *this == other); } }; private: |