diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-02-01 20:27:35 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-02-01 20:27:35 +0100 |
commit | 57a4258426260da9faf8c1ffd003edac330d50b8 (patch) | |
tree | 70e6ba1bee2ca80397869594bece884fda6b4ca3 | |
parent | 7a09bfbcb631b7dfb56d4c04687bc0f6e3e39f75 (diff) |
Remove an unused capture
-rw-r--r-- | src/libstore/store-api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 31bd9318f..601efa1cc 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -744,7 +744,7 @@ StorePathSet Store::queryValidPaths(const StorePathSet & paths, SubstituteFlag m auto doQuery = [&](const StorePath & path) { checkInterrupt(); - queryPathInfo(path, {[path, this, &state_, &wakeup](std::future<ref<const ValidPathInfo>> fut) { + queryPathInfo(path, {[path, &state_, &wakeup](std::future<ref<const ValidPathInfo>> fut) { auto state(state_.lock()); try { auto info = fut.get(); |