diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-12 09:16:47 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-12 09:16:47 +0300 |
commit | fc9dbf81953ebe3b0757638671eb31787f4f387d (patch) | |
tree | 04d91486e49b29529cf89ca19dcf3dce4df0d573 | |
parent | 7a6c15e8ff135fc6b22b09038454d007da9642f4 (diff) |
Make get_ver static
-rw-r--r-- | bdep/project-email.cxx | 2 | ||||
-rw-r--r-- | 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<string> 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) |