aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-11-05 12:11:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-12-10 16:44:55 +0200
commite5d9d1fbec4a00ebc52fdb94d97f4140a08ecd28 (patch)
tree42e6ec5cca72c8706c5e12d42349a237878dfe42 /libbrep
parentba1b6e96d3675d3dc7021213f08ed56359648ee4 (diff)
Retry database operations on recoverable failures in ci_start class functions
Diffstat (limited to 'libbrep')
-rw-r--r--libbrep/build-package.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbrep/build-package.hxx b/libbrep/build-package.hxx
index 14217b2..f022a0d 100644
--- a/libbrep/build-package.hxx
+++ b/libbrep/build-package.hxx
@@ -42,6 +42,10 @@ namespace brep
unloaded_timestamp (t),
unloaded_notify_interval (n) {}
+ // Create tenant for subsequent loading or incremental building.
+ //
+ build_tenant () = default;
+
string id;
bool private_ = false;
@@ -57,10 +61,6 @@ namespace brep
// Database mapping.
//
#pragma db member(id) id
-
- private:
- friend class odb::access;
- build_tenant () = default;
};
// Foreign object that is mapped to a subset of the repository object.