Some code cleanups tagged by static analysis

This commit is contained in:
seelabs
2021-06-07 11:26:27 -04:00
committed by manojsdoshi
parent 78bc2727f7
commit cd27b5f2bd
28 changed files with 60 additions and 57 deletions

View File

@@ -542,7 +542,7 @@ void
ManifestCache::save(
DatabaseCon& dbCon,
std::string const& dbTable,
std::function<bool(PublicKey const&)> isTrusted)
std::function<bool(PublicKey const&)> const& isTrusted)
{
std::lock_guard lock{apply_mutex_};
auto db = dbCon.checkoutDb();