From 662400d824ceab77cb4dc2d0163b4d48d210b3e1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 May 2017 17:23:45 +0300 Subject: Adapt to adding hxx extension for headers and lib prefix for library dir in libbutl --- libbrep/common.hxx | 4 ++-- libbrep/types.hxx | 14 +++++++------- libbrep/utility.hxx | 4 ++-- libbrep/version.hxx.in | 2 +- libbrep/wrapper-traits.hxx | 2 +- load/load.cxx | 14 +++++++------- migrate/migrate.cxx | 2 +- mod/database-module.cxx | 2 +- mod/mod-build-result.cxx | 8 ++++---- mod/mod-build-task.cxx | 8 ++++---- mod/mod-repository-details.cxx | 2 +- tests/load/driver.cxx | 4 ++-- web/apache/request.cxx | 4 ++-- web/apache/service.cxx | 2 +- web/module.hxx | 4 ++-- 15 files changed, 38 insertions(+), 38 deletions(-) diff --git a/libbrep/common.hxx b/libbrep/common.hxx index b1160ab..942790c 100644 --- a/libbrep/common.hxx +++ b/libbrep/common.hxx @@ -108,8 +108,8 @@ namespace brep std::chrono::nanoseconds::period>::value, "The following timestamp ODB mapping is invalid"); - // As it pointed out in butl/timestamp we will overflow in year 2262, but - // by that time some larger basic type will be available for mapping. + // As it pointed out in libbutl/timestamp.hxx we will overflow in year 2262, + // but by that time some larger basic type will be available for mapping. // #pragma db map type(timestamp) as(uint64_t) \ to(std::chrono::duration_cast ( \ diff --git a/libbrep/types.hxx b/libbrep/types.hxx index a0001a7..7b74c75 100644 --- a/libbrep/types.hxx +++ b/libbrep/types.hxx @@ -22,10 +22,10 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include namespace brep { @@ -65,7 +65,7 @@ namespace brep using std::system_error; using io_error = std::ios_base::failure; - // + // // using butl::optional; using butl::nullopt; @@ -75,7 +75,7 @@ namespace brep using odb::lazy_shared_ptr; using odb::lazy_weak_ptr; - // + // // using butl::path; using butl::dir_path; @@ -85,7 +85,7 @@ namespace brep using paths = std::vector; using dir_paths = std::vector; - // + // // using butl::timestamp; using butl::timestamp_nonexistent; diff --git a/libbrep/utility.hxx b/libbrep/utility.hxx index f5948dd..c81413c 100644 --- a/libbrep/utility.hxx +++ b/libbrep/utility.hxx @@ -11,7 +11,7 @@ #include // assert() #include // make_move_iterator() -#include // reverse_iterate(), operator<<(ostream, exception) +#include // reverse_iterate(), operator<<(ostream, exception) namespace brep { @@ -24,7 +24,7 @@ namespace brep using std::make_move_iterator; using std::to_string; - // + // // using butl::reverse_iterate; } diff --git a/libbrep/version.hxx.in b/libbrep/version.hxx.in index 0b83777..e3c52ce 100644 --- a/libbrep/version.hxx.in +++ b/libbrep/version.hxx.in @@ -37,7 +37,7 @@ #define BREP_SNAPSHOT $brep.version.snapshot_sn$ULL #define BREP_SNAPSHOT_ID "$brep.version.snapshot_id$" -#include +#include $libbutl.check(LIBBUTL_VERSION, LIBBUTL_SNAPSHOT)$ diff --git a/libbrep/wrapper-traits.hxx b/libbrep/wrapper-traits.hxx index ac039e3..fcc63c6 100644 --- a/libbrep/wrapper-traits.hxx +++ b/libbrep/wrapper-traits.hxx @@ -7,7 +7,7 @@ #include -#include +#include #include diff --git a/load/load.cxx b/load/load.cxx index b478086..23f365a 100644 --- a/load/load.cxx +++ b/load/load.cxx @@ -17,13 +17,13 @@ #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include #include diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx index 047dfe0..dac74d5 100644 --- a/migrate/migrate.cxx +++ b/migrate/migrate.cxx @@ -13,7 +13,7 @@ #include -#include +#include #include #include diff --git a/mod/database-module.cxx b/mod/database-module.cxx index 3b5e1e1..47cf03a 100644 --- a/mod/database-module.cxx +++ b/mod/database-module.cxx @@ -10,7 +10,7 @@ #include -#include // throw_generic_error() +#include // throw_generic_error() #include #include diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx index d6ec5e9..c6b789a 100644 --- a/mod/mod-build-result.cxx +++ b/mod/mod-build-result.cxx @@ -6,10 +6,10 @@ #include // find_if() -#include -#include -#include -#include +#include +#include +#include +#include #include diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index 353e636..e43397c 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -7,10 +7,10 @@ #include #include -#include // compare_c_string -#include // path_match() -#include -#include +#include // compare_c_string +#include // path_match() +#include +#include #include #include diff --git a/mod/mod-repository-details.cxx b/mod/mod-repository-details.cxx index 78b309d..e433e0a 100644 --- a/mod/mod-repository-details.cxx +++ b/mod/mod-repository-details.cxx @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index 7c8662b..a907be1 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -11,8 +11,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/web/apache/request.cxx b/web/apache/request.cxx index 219f887..da016b5 100644 --- a/web/apache/request.cxx +++ b/web/apache/request.cxx @@ -28,8 +28,8 @@ #include #include // min() -#include -#include +#include +#include #include diff --git a/web/apache/service.cxx b/web/apache/service.cxx index 8c3fa82..5a8e757 100644 --- a/web/apache/service.cxx +++ b/web/apache/service.cxx @@ -16,7 +16,7 @@ #include // strlen(), strcmp() #include -#include +#include #include #include diff --git a/web/module.hxx b/web/module.hxx index 1864673..a771641 100644 --- a/web/module.hxx +++ b/web/module.hxx @@ -15,8 +15,8 @@ #include // move() #include // runtime_error -#include -#include +#include +#include namespace web { -- cgit v1.1