aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 8df1d55b9..064f7a432 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -1826,11 +1826,12 @@ std::optional<const Realisation> LocalStore::queryRealisation_(
}
std::optional<const Realisation>
-LocalStore::queryRealisation(const DrvOutput &id) {
- return retrySQLite<std::optional<const Realisation>>([&]() {
- auto state(_state.lock());
- return queryRealisation_(*state, id);
- });
+LocalStore::queryRealisation(const DrvOutput & id)
+{
+ return retrySQLite<std::optional<const Realisation>>([&]() {
+ auto state(_state.lock());
+ return queryRealisation_(*state, id);
+ });
}
FixedOutputHash LocalStore::hashCAPath(