Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-03-09 21:09:12 +0100
committerMartin Hořeňovský2020-03-09 21:15:30 +0100
commita15ffb735d895b9745b4465b70fe7574beb88f3e (patch)
tree7906afc504e82810c38797a2405d04f42da9bb96 /src/catch2
parent727b26ab354bcb43ed59ee76bbe9f56c2935f6a1 (diff)
downloadcatch3-a15ffb735d895b9745b4465b70fe7574beb88f3e.tar.gz
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.
Diffstat (limited to 'src/catch2')
-rw-r--r--src/catch2/reporters/catch_reporter_listening.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/reporters/catch_reporter_listening.h b/src/catch2/reporters/catch_reporter_listening.h
index 032d8a18..8287e4a2 100644
--- a/src/catch2/reporters/catch_reporter_listening.h
+++ b/src/catch2/reporters/catch_reporter_listening.h
@@ -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;