Skip to content

Commit

Permalink
redirect.h: suppressed exceptThrowInDestructor selfcheck false posi…
Browse files Browse the repository at this point in the history
…tive
  • Loading branch information
firewave committed Dec 1, 2023
1 parent 9831f19 commit 32f3fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/redirect.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RedirectOutputError {
{
const std::string s = _out.str();
if (!s.empty())
throw std::runtime_error("unconsumed stdout: " + s);
throw std::runtime_error("unconsumed stdout: " + s); // cppcheck-suppress exceptThrowInDestructor - FP #11031
}

{
Expand Down

0 comments on commit 32f3fa1

Please sign in to comment.