Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-11-04 00:31:45 +0100
committerMartin Hořeňovský2023-11-04 00:33:18 +0100
commitcaffe79a3172495f6a4b09de88e81e9aa67b8323 (patch)
tree1bfd37c20ad36b612a1176e2abf6078aadc6a5ea
parenta8cf3e671047da6e7bf6c3c0d9a2178afeed1b54 (diff)
downloadcatch3-caffe79a3172495f6a4b09de88e81e9aa67b8323.tar.gz
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
-rw-r--r--src/catch2/catch_message.hpp1
1 files changed, 1 insertions, 0 deletions
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 <catch2/internal/catch_stream_end_stop.hpp>
#include <catch2/internal/catch_message_info.hpp>
#include <catch2/catch_tostring.hpp>
+#include <catch2/interfaces/catch_interfaces_capture.hpp>
#include <string>
#include <vector>