aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-04-22 17:32:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-04-22 17:32:10 +0300
commit6aa21da22bf847c5a408f156626f9b5853a4acbe (patch)
treef5267e6137ec96e8e3f95778a4c0d507be8730aa
parent7c61322166eb0eab77ee5fb10031bae616ecb192 (diff)
Make buildable with GCC 4.9
-rw-r--r--libbrep/build-package.hxx21
-rw-r--r--libbrep/package.hxx21
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<brep::build_public_key>> 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<brep::build_public_key>> (this.configs))) \
+ set(brep::build_package_config_bot_keys< \
+ lazy_shared_ptr<brep::build_public_key>> 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<brep::public_key>> 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<brep::public_key>> (this.build_configs))) \
+ set(brep::build_package_config_bot_keys< \
+ lazy_shared_ptr<brep::public_key>> 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)