mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Version of Clara with (std::max)
This commit is contained in:
		
							
								
								
									
										2
									
								
								third_party/clara.hpp
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								third_party/clara.hpp
									
									
									
									
										vendored
									
									
								
							| @@ -1103,7 +1103,7 @@ namespace detail { | ||||
|             size_t consoleWidth = CLARA_CONFIG_CONSOLE_WIDTH; | ||||
|             size_t optWidth = 0; | ||||
|             for( auto const &cols : rows ) | ||||
|                 optWidth = std::max(optWidth, cols.left.size() + 2); | ||||
|                 optWidth = (std::max)(optWidth, cols.left.size() + 2); | ||||
|  | ||||
|             for( auto const &cols : rows ) { | ||||
|                 auto row = | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash