From 8e5f53fd249f08b0be0a7d4eec65f425cfb79eae Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 14 Aug 2018 19:28:54 +0300 Subject: Adapt to git_version() returning semantic_version now --- bdep/publish.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bdep/publish.cxx') diff --git a/bdep/publish.cxx b/bdep/publish.cxx index 1afdd36..c498361 100644 --- a/bdep/publish.cxx +++ b/bdep/publish.cxx @@ -8,6 +8,7 @@ #include // fdterm() #include +#include #include #include @@ -29,7 +30,7 @@ namespace bdep // worktree command used. We also use bpkg that caps the git version at // 2.12, so let's use is as the lowest common denominator. // - static const standard_version git_ver ("2.12.0"); + static const semantic_version git_ver {2, 12, 0}; static inline url parse_url (const string& s, const char* what) -- cgit v1.1