1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 19:01:16 +02:00

Fix C++20 warnings

This commit is contained in:
Graham Bennett 2022-10-22 14:25:35 +01:00
parent c5fd34a14e
commit 4563e80363
6 changed files with 18 additions and 14 deletions

View file

@ -378,7 +378,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();