From caffe79a3172495f6a4b09de88e81e9aa67b8323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sat, 4 Nov 2023 00:31:45 +0100 Subject: [PATCH] Fix missing include in catch_message.hpp Because the issue comes from the expansions of `UNSCOPED_INFO`, surrogate TUs could not catch this bug, and in common usage, the include transitively comes from `catch_test_macros.hpp`. Fixes #2758 --- src/catch2/catch_message.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/catch2/catch_message.hpp b/src/catch2/catch_message.hpp index 76a0fac7..05325ee8 100644 --- a/src/catch2/catch_message.hpp +++ b/src/catch2/catch_message.hpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include