mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-30 19:57:10 +01:00 
			
		
		
		
	Fixed Visual Studio analyze warning about isalum requiring unsigned char
This commit is contained in:
		| @@ -30,7 +30,7 @@ namespace Catch { | |||||||
|             return TestCaseInfo::None; |             return TestCaseInfo::None; | ||||||
|     } |     } | ||||||
|     inline bool isReservedTag( std::string const& tag ) { |     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 && !isalnum( static_cast<unsigned char>(tag[0]) ); | ||||||
|     } |     } | ||||||
|     inline void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) { |     inline void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) { | ||||||
|         if( isReservedTag( tag ) ) { |         if( isReservedTag( tag ) ) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zachary Struck
					Zachary Struck