diff options
author | flow <flowlnlnln@gmail.com> | 2023-01-19 21:31:55 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2023-01-20 11:15:26 -0300 |
commit | 81848e05f100a135ad1d307ccabb796be0540daa (patch) | |
tree | 78972f42c73d64f8277eee2150cba05203a7b687 /launcher/Version.h | |
parent | 5ae69c079a15fa16945b306e29925e800cb28c87 (diff) | |
download | PrismLauncher-81848e05f100a135ad1d307ccabb796be0540daa.tar.gz PrismLauncher-81848e05f100a135ad1d307ccabb796be0540daa.tar.bz2 PrismLauncher-81848e05f100a135ad1d307ccabb796be0540daa.zip |
refactor: simplify Version operators
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/Version.h')
-rw-r--r-- | launcher/Version.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/Version.h b/launcher/Version.h index 9db03521..b587319a 100644 --- a/launcher/Version.h +++ b/launcher/Version.h @@ -45,8 +45,8 @@ class QUrl; class Version { public: - Version(const QString &str); - Version() {} + Version(QString str); + Version() = default; bool operator<(const Version &other) const; bool operator<=(const Version &other) const; |