mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-01 01:18:02 +00:00
Added std:: qualification to some functions from C stdlib
This should solve #543, once Clara changes are in as well.
This commit is contained in:
parent
fd7dde10d3
commit
d0620c3495
5 changed files with 6 additions and 5 deletions
|
@ -32,7 +32,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…
Add table
Add a link
Reference in a new issue