From e0da5d736d52d71fa4894de8442160565d0b5aa9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 3 May 2017 11:02:46 +0200 Subject: Use VERSION_ID instead of VERSION_STR where appropriate --- mod/mod-package-search.cxx | 2 +- mod/mod-repository-root.cxx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'mod') diff --git a/mod/mod-package-search.cxx b/mod/mod-package-search.cxx index 23db29a..e1cd03f 100644 --- a/mod/mod-package-search.cxx +++ b/mod/mod-package-search.cxx @@ -62,7 +62,7 @@ init (scanner& s) if (schema_catalog::current_version (*package_db_, ds) != package_db_->schema_version (ds)) fail << "database 'package' schema differs from the current one (module " - << BREP_VERSION_STR << ")"; + << BREP_VERSION_ID << ")"; } template diff --git a/mod/mod-repository-root.cxx b/mod/mod-repository-root.cxx index bac63ca..00cdea4 100644 --- a/mod/mod-repository-root.cxx +++ b/mod/mod-repository-root.cxx @@ -364,10 +364,10 @@ namespace brep { MODULE_DIAG; - info << "module " << BREP_VERSION_STR - << ", libbrep " << LIBBREP_VERSION_STR - << ", libbbot " << LIBBBOT_VERSION_STR - << ", libbpkg " << LIBBPKG_VERSION_STR - << ", libbutl " << LIBBUTL_VERSION_STR; + info << "module " << BREP_VERSION_ID + << ", libbrep " << LIBBREP_VERSION_ID + << ", libbbot " << LIBBBOT_VERSION_ID + << ", libbpkg " << LIBBPKG_VERSION_ID + << ", libbutl " << LIBBUTL_VERSION_ID; } } -- cgit v1.1