fix crash when requesting verbose output.

This commit is contained in:
Axel Kohlmeyer
2021-04-02 12:07:59 -04:00
parent 2dfafe4adb
commit 887eb40ad4

View File

@ -60,7 +60,7 @@ public:
} }
void BEGIN_CAPTURE_OUTPUT() { void BEGIN_CAPTURE_OUTPUT() {
if (!verbose) ::testing::internal::CaptureStdout(); ::testing::internal::CaptureStdout();
} }
std::string END_CAPTURE_OUTPUT() { std::string END_CAPTURE_OUTPUT() {