refactor: simplify Version operators

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2023-01-19 21:31:55 -03:00
parent 5ae69c079a
commit 81848e05f1
No known key found for this signature in database
GPG key ID: 8D0F221F0A59F469
2 changed files with 28 additions and 42 deletions

View file

@ -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;