Balance the warning suppression the split separated

unit-regression2.cpp opens a DOCTEST_CLANG_SUPPRESS_WARNING_PUSH block at
the top and closed it at the very bottom, which the split moved into
unit-regression3.cpp: one file was left with a push and no pop, the other
with a pop and no push, which clang reports as an error.

Give each file the pair it needs.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2026-09-02 19:06:37 +02:00
parent 2ff800496e
commit 01cb01c873
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -1240,3 +1240,5 @@ TEST_CASE("regression tests 2")
}
#endif
}
DOCTEST_CLANG_SUPPRESS_WARNING_POP