From 4e996aa463b85e8a3a25f233fb91ccacda8a17e8 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Thu, 21 Nov 2024 18:52:35 +0100 Subject: [PATCH] Remove unused capture from transform_mpi --- libs/pika/async_mpi/include/pika/async_mpi/transform_mpi.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pika/async_mpi/include/pika/async_mpi/transform_mpi.hpp b/libs/pika/async_mpi/include/pika/async_mpi/transform_mpi.hpp index 52439a991..71a348d3c 100644 --- a/libs/pika/async_mpi/include/pika/async_mpi/transform_mpi.hpp +++ b/libs/pika/async_mpi/include/pika/async_mpi/transform_mpi.hpp @@ -65,7 +65,7 @@ namespace pika::mpi::experimental { if (completions_inline) { - auto f_completion = [mode, p, f = std::forward(f)](auto&... args) mutable { + auto f_completion = [mode, f = std::forward(f)](auto&... args) mutable { return just(std::forward_as_tuple(args...)) | unpack() | dispatch_mpi(std::move(f)) | trigger_mpi(mode); };