mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Fixed update logic to support newer index downloaded from the internet
than the index stored in the resources.
This commit is contained in:
parent
ece8e06914
commit
d0aad74c27
3 changed files with 98 additions and 42 deletions
|
@ -114,6 +114,7 @@ public:
|
|||
bool operator&(const Semver &b) const { return ::semver_satisfies_patch(ver, b.ver) != 0; }
|
||||
bool operator^(const Semver &b) const { return ::semver_satisfies_caret(ver, b.ver) != 0; }
|
||||
bool in_range(const Semver &low, const Semver &high) const { return low <= *this && *this <= high; }
|
||||
bool valid() const { return *this != zero() && *this != inf() && *this != invalid(); }
|
||||
|
||||
// Conversion
|
||||
std::string to_string() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue