mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 13:25:41 +02:00
Make ListeningReporter final
In general, for Catch2 v3 we are making virtual types `final`, unless they were explicitly designed to be derived-from. `ListeningReporter` is definitely not designed to be derived-from.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
class ListeningReporter : public IStreamingReporter {
|
||||
class ListeningReporter final : public IStreamingReporter {
|
||||
using Reporters = std::vector<IStreamingReporterPtr>;
|
||||
Reporters m_listeners;
|
||||
IStreamingReporterPtr m_reporter = nullptr;
|
||||
|
Reference in New Issue
Block a user