diff --git a/src/helics/network/mpi/MpiComms.cpp b/src/helics/network/mpi/MpiComms.cpp index 870d6bc940..0df847ae9f 100644 --- a/src/helics/network/mpi/MpiComms.cpp +++ b/src/helics/network/mpi/MpiComms.cpp @@ -55,7 +55,7 @@ namespace mpi { void MpiComms::queue_rx_function() { - auto scopeExit = [this]() { + auto scopeExit = [this](void*) { logMessage(fmt::format("Shutdown RX Loop for {}", localTargetAddress)); shutdown = true; setRxStatus(ConnectionStatus::TERMINATED);