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
This commit is contained in:
Martin Hořeňovský 2023-11-04 00:31:45 +01:00
parent a8cf3e6710
commit caffe79a31
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -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>