Fix indentation

This commit is contained in:
regnat 2021-06-22 10:42:23 +02:00
parent d32cf0c17a
commit 40f925b2da

View file

@ -1826,11 +1826,12 @@ std::optional<const Realisation> LocalStore::queryRealisation_(
} }
std::optional<const Realisation> std::optional<const Realisation>
LocalStore::queryRealisation(const DrvOutput &id) { LocalStore::queryRealisation(const DrvOutput & id)
return retrySQLite<std::optional<const Realisation>>([&]() { {
auto state(_state.lock()); return retrySQLite<std::optional<const Realisation>>([&]() {
return queryRealisation_(*state, id); auto state(_state.lock());
}); return queryRealisation_(*state, id);
});
} }
FixedOutputHash LocalStore::hashCAPath( FixedOutputHash LocalStore::hashCAPath(