mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 02:45:40 +02:00
Removed redundant .c_str()s from StringRef usages
This commit is contained in:
@@ -23,9 +23,9 @@ namespace Catch {
|
||||
.registerTest(
|
||||
makeTestCase(
|
||||
invoker,
|
||||
extractClassName( classOrMethod.c_str() ),
|
||||
nameAndTags.name.c_str(),
|
||||
nameAndTags.tags.c_str(),
|
||||
extractClassName( classOrMethod ),
|
||||
nameAndTags.name,
|
||||
nameAndTags.tags,
|
||||
lineInfo));
|
||||
} catch (...) {
|
||||
// Do not throw when constructing global objects, instead register the exception to be processed later
|
||||
|
Reference in New Issue
Block a user