Some listener and factory clean-ups
This commit is contained in:
1 parent
dd78824697
commit
a96f25c716
3 files changed
+4
-5
No files matched your search
@@ -42,7 +42,7 @@ namespace Catch {
|
||||
return reporter;
|
||||
}
|
||||
Ptr<IStreamingReporter> addListeners( IConfigPtr const& config, Ptr<IStreamingReporter> reporters ) {
|
||||
IReporterRegistry::Listeners listeners = getRegistryHub().getReporterRegistry().getListeners();
|
||||
auto const& listeners = getRegistryHub().getReporterRegistry().getListeners();
|
||||
for( auto const& listener : listeners )
|
||||
reporters = addReporter(reporters, listener->create( ReporterConfig( config ) ) );
|
||||
return reporters;
|
||||
|
||||
Reference in new issue
Block a user