mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-12 03:55:32 +02:00
Fixed std::isalnum()
This commit is contained in:
parent
4d5f7a8826
commit
20799cc44a
@ -30,7 +30,7 @@ namespace Catch {
|
||||
return TestCaseInfo::None;
|
||||
}
|
||||
inline bool isReservedTag( std::string const& tag ) {
|
||||
return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !isalnum( tag[0] );
|
||||
return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( tag[0] );
|
||||
}
|
||||
inline void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
|
||||
if( isReservedTag( tag ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user