refactor: simplify Version operators
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
5ae69c079a
commit
81848e05f1
2 changed files with 28 additions and 42 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue