mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-17 16:30:02 +01:00
fixed version comparisons, previously done lexicographically
This commit is contained in:
1 parent
6df1aba669
commit
9cd390b291
3 files changed
+80
-8
No files matched your search
@@ -16,6 +16,10 @@ class Version {
|
||||
public:
|
||||
explicit Version(const std::string &s);
|
||||
|
||||
static bool parseSemanticVersion(const std::string &version, int &major,
|
||||
int &minor, int &patch,
|
||||
std::string &extra);
|
||||
|
||||
bool hasSemanticVersioning() const;
|
||||
std::string getVersion() const;
|
||||
std::string getDate() const;
|
||||
|
||||
Reference in new issue
Block a user