Implement relational operators on Basic_version class; Improve documentation; Fix bug in parser regarding prerelease token treatment on transition between prerelease and build parsing; Add unit tests for missing cases
This commit is contained in:
@@ -61,7 +61,7 @@ namespace {
|
||||
|
||||
namespace version {
|
||||
|
||||
int Semver200_comparator::compare(const Version_data& l, const Version_data& r) {
|
||||
int Semver200_comparator::compare(const Version_data& l, const Version_data& r) const {
|
||||
int cmp = compare_normal(l, r);
|
||||
if (cmp != 0) return cmp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user