From fc9dbf81953ebe3b0757638671eb31787f4f387d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 12 Aug 2018 09:16:47 +0300 Subject: Make get_ver static --- bdep/project-email.cxx | 2 +- bdep/publish.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bdep/project-email.cxx b/bdep/project-email.cxx index d43f4ff..9e8bbc9 100644 --- a/bdep/project-email.cxx +++ b/bdep/project-email.cxx @@ -11,7 +11,7 @@ using namespace butl; namespace bdep { - const standard_version git_ver ("2.1.0"); + static const standard_version git_ver ("2.1.0"); optional project_email (const dir_path& prj) diff --git a/bdep/publish.cxx b/bdep/publish.cxx index df72da7..1afdd36 100644 --- a/bdep/publish.cxx +++ b/bdep/publish.cxx @@ -29,7 +29,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. // - const standard_version git_ver ("2.12.0"); + static const standard_version git_ver ("2.12.0"); static inline url parse_url (const string& s, const char* what) -- cgit v1.1