aboutsummaryrefslogtreecommitdiff
path: root/butl/standard-version.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/standard-version.ixx')
-rw-r--r--butl/standard-version.ixx18
1 files changed, 0 insertions, 18 deletions
diff --git a/butl/standard-version.ixx b/butl/standard-version.ixx
index 332eb02..a2de26c 100644
--- a/butl/standard-version.ixx
+++ b/butl/standard-version.ixx
@@ -83,22 +83,4 @@ namespace butl
{
return version % 10000 == 1 && !snapshot ();
}
-
- inline int standard_version::
- compare (const standard_version& v) const noexcept
- {
- if (epoch != v.epoch)
- return epoch < v.epoch ? -1 : 1;
-
- if (version != v.version)
- return version < v.version ? -1 : 1;
-
- if (snapshot_sn != v.snapshot_sn)
- return snapshot_sn < v.snapshot_sn ? -1 : 1;
-
- if (revision != v.revision)
- return revision < v.revision ? -1 : 1;
-
- return 0;
- }
}