diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-14 19:08:10 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-14 19:08:10 +0300 |
commit | b0b19063bffe83af805f2b92106b7da47e21a5d4 (patch) | |
tree | dd2754e633b5de45e134b1911c2e380410f171c7 /libbutl/git.mxx | |
parent | 8561af5a2551ec453c9888125de273f2cc2940c0 (diff) |
Make git_version() to return semantic_version rather than standard_version
Diffstat (limited to 'libbutl/git.mxx')
-rw-r--r-- | libbutl/git.mxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbutl/git.mxx b/libbutl/git.mxx index b2023a6..56e5dee 100644 --- a/libbutl/git.mxx +++ b/libbutl/git.mxx @@ -21,11 +21,11 @@ import std.core; #endif import butl.path; import butl.optional; -import butl.standard_version +import butl.semantic_version #else #include <libbutl/path.mxx> #include <libbutl/optional.mxx> -#include <libbutl/standard-version.mxx> +#include <libbutl/semantic-version.mxx> #endif #include <libbutl/export.hxx> @@ -41,6 +41,6 @@ LIBBUTL_MODEXPORT namespace butl // Try to parse the line printed by the 'git --version' command. Return git // version if succeed, nullopt otherwise. // - LIBBUTL_SYMEXPORT optional<standard_version> + LIBBUTL_SYMEXPORT optional<semantic_version> git_version (const std::string&); } |