diff options
| author | Martin Hořeňovský | 2021-09-15 18:57:56 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-09-15 18:57:56 +0200 |
| commit | f314fa1f8c9576f1879fb0a8a9b038f1108599c2 (patch) | |
| tree | 9a21ba918ff0e1e96ac0d9711825cfd97594e726 /examples | |
| parent | 013edc208bb7c9f448ab122a81ce01a3ef640543 (diff) | |
| download | catch3-f314fa1f8c9576f1879fb0a8a9b038f1108599c2.tar.gz | |
assertionEnded event in reporters no longer returns bool
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/210-Evt-EventListeners.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/210-Evt-EventListeners.cpp b/examples/210-Evt-EventListeners.cpp index 7a025375..a4b938c9 100644 --- a/examples/210-Evt-EventListeners.cpp +++ b/examples/210-Evt-EventListeners.cpp @@ -366,10 +366,9 @@ struct MyListener : Catch::EventListenerBase { print( std::cout, 1, "- assertionInfo", assertionInfo ); } - bool assertionEnded( Catch::AssertionStats const& assertionStats ) override { + void assertionEnded( Catch::AssertionStats const& assertionStats ) override { std::cout << "\nEvent: assertionEnded:\n"; print( std::cout, 1, "- assertionStats", assertionStats ); - return true; } }; |