catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix Wweak-vtables in benchmarks/assertion_listener.cpp
- Commit
ec4dcbf9cb6d85f410a08c02c1b2cce2b2101b64- Author
- Martin Hořeňovský ·
- Parents
b66b89374e60
Changes
benchmarks/assertion_listener.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmarks/assertion_listener.cpp b/benchmarks/assertion_listener.cpp index 2aa65b45..38399568 100644 --- a/benchmarks/assertion_listener.cpp +++ b/benchmarks/assertion_listener.cpp @@ -12,6 +12,7 @@ /** * Event listener that listens to all assertions, forcing assertion slow path */ +namespace { class AssertionSlowPathListener : public Catch::EventListenerBase { public: static std::string getDescription() { @@ -26,3 +27,4 @@ public: }; CATCH_REGISTER_LISTENER( AssertionSlowPathListener ) +}