aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-11-05 12:11:22 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2024-11-05 15:27:37 +0200
commitf8353c612fb655348fdd69ff942a04560d8d55dc (patch)
tree4d4a18bfe46770c86fe7101c6aed06da15e0e345 /libbrep
parent153f38c301f48dc4c1c363ab81ca5a938fc83a7a (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.