aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-02-01 20:27:35 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-02-01 20:27:35 +0100
commit57a4258426260da9faf8c1ffd003edac330d50b8 (patch)
tree70e6ba1bee2ca80397869594bece884fda6b4ca3 /src/libstore
parent7a09bfbcb631b7dfb56d4c04687bc0f6e3e39f75 (diff)
Remove an unused capture
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/store-api.cc2
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();