diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-02-01 15:41:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 15:41:04 +0100 |
commit | 14b0b9ea5a7fd49f9508e211ac3e5552b70cd2fe (patch) | |
tree | 59630e3dfb740457be3d625c3da30e3e4faa2684 /src/libstore/binary-cache-store.cc | |
parent | 0079d2943702a7a7fbdd88c0f9a5ad677c334aa8 (diff) | |
parent | 4563e803633d44ec57dfc4515f0c42c8855c018b (diff) |
Merge pull request #7203 from graham33/feature/cpp20
Proposal: Use C++20
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 05bf0501d..751cf8c30 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -370,7 +370,7 @@ void BinaryCacheStore::queryPathInfoUncached(const StorePath & storePath, auto callbackPtr = std::make_shared<decltype(callback)>(std::move(callback)); getFile(narInfoFile, - {[=](std::future<std::optional<std::string>> fut) { + {[=,this](std::future<std::optional<std::string>> fut) { try { auto data = fut.get(); |