diff options
| author | Martin Hořeňovský | 2023-11-04 00:31:45 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-11-04 00:33:18 +0100 |
| commit | caffe79a3172495f6a4b09de88e81e9aa67b8323 (patch) | |
| tree | 1bfd37c20ad36b612a1176e2abf6078aadc6a5ea /src/catch2 | |
| parent | a8cf3e671047da6e7bf6c3c0d9a2178afeed1b54 (diff) | |
| download | catch3-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
Diffstat (limited to 'src/catch2')
| -rw-r--r-- | src/catch2/catch_message.hpp | 1 |
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> |