mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-13 17:05:39 +02:00
Use StringRef on fatal error path
So far the fatal error path only uses string literals, so this removes an allocation from that context
This commit is contained in:
@@ -100,7 +100,7 @@ namespace Catch {
|
||||
|
||||
void exceptionEarlyReported() override;
|
||||
|
||||
void handleFatalErrorCondition(std::string const& message) override;
|
||||
void handleFatalErrorCondition( StringRef message ) override;
|
||||
|
||||
bool lastAssertionPassed() override;
|
||||
|
||||
|
Reference in New Issue
Block a user