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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_message.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-03-22 19:12:03 +0100
committerMartin Hořeňovský2023-03-22 19:12:03 +0100
commit5b665be643ba28d9870c4cff662e634726c9037c (patch)
tree730e0433723c6fde03ed9c55ddddc9fcc5cda61a /src/catch2/catch_message.cpp
parent2598116aa640b012d42900bb565a7f1bfae5152e (diff)
downloadcatch3-5b665be643ba28d9870c4cff662e634726c9037c.tar.gz
Cut out catch_interfaces_capture.hpp include from the main include
Diffstat (limited to 'src/catch2/catch_message.cpp')
-rw-r--r--src/catch2/catch_message.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/catch2/catch_message.cpp b/src/catch2/catch_message.cpp
index d4723e94..384f180e 100644
--- a/src/catch2/catch_message.cpp
+++ b/src/catch2/catch_message.cpp
@@ -37,7 +37,11 @@ namespace Catch {
}
- Capturer::Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, StringRef names ) {
+ Capturer::Capturer( StringRef macroName,
+ SourceLineInfo const& lineInfo,
+ ResultWas::OfType resultType,
+ StringRef names ):
+ m_resultCapture( getResultCapture() ) {
auto trimmed = [&] (size_t start, size_t end) {
while (names[start] == ',' || isspace(static_cast<unsigned char>(names[start]))) {
++start;