forked from catchorg/Catch2
Constexprify NameAndTags constructor
This commit is contained in:
@@ -46,7 +46,7 @@ Detail::unique_ptr<ITestInvoker> makeTestInvoker( void (C::*testAsMethod)() ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct NameAndTags {
|
struct NameAndTags {
|
||||||
NameAndTags(StringRef name_ = StringRef(),
|
constexpr NameAndTags( StringRef name_ = StringRef(),
|
||||||
StringRef tags_ = StringRef() ) noexcept:
|
StringRef tags_ = StringRef() ) noexcept:
|
||||||
name( name_ ), tags( tags_ ) {}
|
name( name_ ), tags( tags_ ) {}
|
||||||
StringRef name;
|
StringRef name;
|
||||||
|
Reference in New Issue
Block a user