aboutsummaryrefslogtreecommitdiff
path: root/libbutl/standard-version.mxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-01-21 17:57:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-21 17:57:03 +0300
commitf03c36bde6a43ad84ae412d46b3e466de82fab6e (patch)
treebd13cfedb5b6ea5ec9205aaf7b9b59c253720766 /libbutl/standard-version.mxx
parent2ad811b3fbb5e8101111ea24a58fa7ffce7f06dd (diff)
Add standard_version::latest_snapshot() predicate
Diffstat (limited to 'libbutl/standard-version.mxx')
-rw-r--r--libbutl/standard-version.mxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbutl/standard-version.mxx b/libbutl/standard-version.mxx
index b71a44b..6688237 100644
--- a/libbutl/standard-version.mxx
+++ b/libbutl/standard-version.mxx
@@ -134,6 +134,7 @@ LIBBUTL_MODEXPORT namespace butl
bool earliest () const noexcept;
bool release () const noexcept;
bool snapshot () const noexcept {return snapshot_sn != 0;}
+ bool latest_snapshot () const noexcept;
bool final () const noexcept;
// Comparison of empty or stub versions doesn't make sense.