Skip to content

Commit

Permalink
Fix 'exception by value' warnings/logic in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
halfgaar committed Feb 24, 2024
1 parent 249ab76 commit a6eac25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FlashMQTests/plugintests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ void MainTests::testAlsoDontApproveOnErrorInPluginWithWildcardDenyMode()
{
receiver.subscribe("#", 0);
}
catch (SubAckIsError)
catch (SubAckIsError &ex)
{
suback_errored = true;
}
Expand Down Expand Up @@ -993,7 +993,7 @@ void MainTests::testDenyWildcardSubscription()
{
receiver.subscribe("bla/#", 0);
}
catch (SubAckIsError)
catch (SubAckIsError &ex)
{
suback_errored = true;
}
Expand Down

0 comments on commit a6eac25

Please sign in to comment.