Remove assertionPassed fast path from the capture interface

As it is an internal helper for RunContext to speed-up handling of
succesfull assertions, I have no idea why it was added to the
interface back when it was first implemented.
This commit is contained in:
Martin Hořeňovský
2025-07-20 18:31:24 +02:00
parent db6171a706
commit ce128f584c
2 changed files with 1 additions and 3 deletions

View File

@@ -93,9 +93,7 @@ namespace Catch {
AssertionReaction &reaction ) = 0; AssertionReaction &reaction ) = 0;
virtual bool lastAssertionPassed() = 0; virtual bool lastAssertionPassed() = 0;
virtual void assertionPassed() = 0;
// Deprecated, do not use: // Deprecated, do not use:
virtual std::string getCurrentTestName() const = 0; virtual std::string getCurrentTestName() const = 0;

View File

@@ -108,7 +108,7 @@ namespace Catch {
bool lastAssertionPassed() override; bool lastAssertionPassed() override;
void assertionPassed() override; void assertionPassed();
public: public:
// !TBD We need to do this another way! // !TBD We need to do this another way!