Updating: Index installation

Prevents cancelled updates from popping up repeatedly
on each application startup
This commit is contained in:
Vojtech Kral 2019-06-03 11:31:32 +02:00
parent fe395546f0
commit 503212181c
5 changed files with 65 additions and 37 deletions

View file

@ -137,6 +137,11 @@ public:
Semver operator-(const Minor &b) const { Semver res(*this); return res -= b; }
Semver operator-(const Patch &b) const { Semver res(*this); return res -= b; }
// Stream output
friend std::ostream& operator<<(std::ostream& os, const Semver &self) {
os << self.to_string();
return os;
}
private:
semver_t ver;