Skip to content

Commit

Permalink
Take a pointer as an argument for the scope exit guard in the MPI core
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Dec 6, 2024
1 parent 182017e commit c109d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helics/network/mpi/MpiComms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c109d5f

Please sign in to comment.