From 32f3fa19dba8e1dd690b6a239854892510d930be Mon Sep 17 00:00:00 2001 From: firewave Date: Fri, 1 Dec 2023 17:38:39 +0100 Subject: [PATCH] redirect.h: suppressed `exceptThrowInDestructor` selfcheck false positive --- test/redirect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/redirect.h b/test/redirect.h index 75d96ba7295..10e101c6101 100644 --- a/test/redirect.h +++ b/test/redirect.h @@ -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 } {