diff options
| author | Martin Hořeňovský | 2021-01-27 09:07:15 +0100 |
|---|---|---|
| committer | GitHub | 2021-01-27 09:07:15 +0100 |
| commit | b435e391c45c7cdb23c35cd2afb3435b0b7e53c7 (patch) | |
| tree | a4bb48202c96d1dd4b7efe83f98c2919d890d1c9 /src/catch2/catch_session.cpp | |
| parent | ba8150516800dd5e18f818346a2a12c45b6ec542 (diff) | |
| parent | 971b1fc32a857caa10eb166f39442cee5237267b (diff) | |
| download | catch3-b435e391c45c7cdb23c35cd2afb3435b0b7e53c7.tar.gz | |
Merge pull request #2163 from catchorg/devel-list-outputs-to-out-flag
The output of --list-* flags obeys -o flag
Diffstat (limited to 'src/catch2/catch_session.cpp')
| -rw-r--r-- | src/catch2/catch_session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp index a9519e75..5b1a50a9 100644 --- a/src/catch2/catch_session.cpp +++ b/src/catch2/catch_session.cpp @@ -48,7 +48,7 @@ namespace Catch { // doesn't compile without a std::move call. However, this causes // a warning on newer platforms. Thus, we have to work around // it a bit and downcast the pointer manually. - auto ret = Detail::unique_ptr<IStreamingReporter>(new ListeningReporter); + auto ret = Detail::unique_ptr<IStreamingReporter>(new ListeningReporter(config)); auto& multi = static_cast<ListeningReporter&>(*ret); auto const& listeners = Catch::getRegistryHub().getReporterRegistry().getListeners(); for (auto const& listener : listeners) { |