From 6aa21da22bf847c5a408f156626f9b5853a4acbe Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Apr 2024 17:32:10 +0300 Subject: Make buildable with GCC 4.9 --- libbrep/build-package.hxx | 21 +++++++++++---------- libbrep/package.hxx | 21 +++++++++++---------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/libbrep/build-package.hxx b/libbrep/build-package.hxx index b7bea87..9a9c277 100644 --- a/libbrep/build-package.hxx +++ b/libbrep/build-package.hxx @@ -308,16 +308,17 @@ namespace brep id_column("") key_column("") value_column("") \ section(auxiliaries_section) - #pragma db member(config_bot_keys) \ - virtual(build_package_bot_keys_map) \ - after(config_auxiliaries) \ - get(odb::nested_get ( \ - brep::build_package_config_bot_keys (this.configs))) \ - set(brep::build_package_config_bot_keys< \ - lazy_shared_ptr> bks; \ - odb::nested_set (bks, std::move (?)); \ - move (bks).to_configs (this.configs)) \ - id_column("") key_column("") value_column("key_") \ + #pragma db member(config_bot_keys) \ + virtual(build_package_bot_keys_map) \ + after(config_auxiliaries) \ + get(odb::nested_get ( \ + brep::build_package_config_bot_keys< \ + lazy_shared_ptr> (this.configs))) \ + set(brep::build_package_config_bot_keys< \ + lazy_shared_ptr> bks; \ + odb::nested_set (bks, std::move (?)); \ + move (bks).to_configs (this.configs)) \ + id_column("") key_column("") value_column("key_") \ section(bot_keys_section) #pragma db member(constraints_section) load(lazy) update(always) diff --git a/libbrep/package.hxx b/libbrep/package.hxx index 3878530..45008d4 100644 --- a/libbrep/package.hxx +++ b/libbrep/package.hxx @@ -875,16 +875,17 @@ namespace brep id_column("") key_column("") value_column("") \ section(unused_section) - #pragma db member(build_config_bot_keys) \ - virtual(package_build_bot_keys_map) \ - after(build_config_auxiliaries) \ - get(odb::nested_get ( \ - brep::build_package_config_bot_keys (this.build_configs))) \ - set(brep::build_package_config_bot_keys< \ - lazy_shared_ptr> bks; \ - odb::nested_set (bks, std::move (?)); \ - move (bks).to_configs (this.build_configs)) \ - id_column("") key_column("") value_column("key_") value_not_null \ + #pragma db member(build_config_bot_keys) \ + virtual(package_build_bot_keys_map) \ + after(build_config_auxiliaries) \ + get(odb::nested_get ( \ + brep::build_package_config_bot_keys< \ + lazy_shared_ptr> (this.build_configs))) \ + set(brep::build_package_config_bot_keys< \ + lazy_shared_ptr> bks; \ + odb::nested_set (bks, std::move (?)); \ + move (bks).to_configs (this.build_configs)) \ + id_column("") key_column("") value_column("key_") value_not_null \ section(unused_section) #pragma db member(build_section) load(lazy) update(always) -- cgit v1.1