mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +01:00
Remove unused parameter from listReporters()
This commit is contained in:
parent
1faccd601d
commit
b7f41237b1
@ -124,7 +124,7 @@ namespace Catch {
|
||||
return tagCounts.size();
|
||||
}
|
||||
|
||||
std::size_t listReporters( Config const& /*config*/ ) {
|
||||
std::size_t listReporters() {
|
||||
Catch::cout() << "Available reporters:\n";
|
||||
IReporterRegistry::FactoryMap const& factories = getRegistryHub().getReporterRegistry().getFactories();
|
||||
std::size_t maxNameLen = 0;
|
||||
@ -155,7 +155,7 @@ namespace Catch {
|
||||
if( config.listTags() )
|
||||
listedCount = listedCount.valueOr(0) + listTags( config );
|
||||
if( config.listReporters() )
|
||||
listedCount = listedCount.valueOr(0) + listReporters( config );
|
||||
listedCount = listedCount.valueOr(0) + listReporters();
|
||||
return listedCount;
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ namespace Catch {
|
||||
|
||||
std::size_t listTags( Config const& config );
|
||||
|
||||
std::size_t listReporters( Config const& /*config*/ );
|
||||
std::size_t listReporters();
|
||||
|
||||
Option<std::size_t> list( Config const& config );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user