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