mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:42:45 +00:00 
			
		
		
		
	LibUnicode: Move the CodePointRangeComparator struct to a public header
Move it out of the generated code so that it may be used by the code generator itself.
This commit is contained in:
		
							parent
							
								
									c950f88611
								
							
						
					
					
						commit
						cb128dcf75
					
				
					 2 changed files with 7 additions and 7 deletions
				
			
		|  | @ -979,13 +979,6 @@ struct CodePointComparator { | |||
|     } | ||||
| }; | ||||
| 
 | ||||
| struct CodePointRangeComparator { | ||||
|     constexpr int operator()(u32 code_point, CodePointRange const& range) | ||||
|     { | ||||
|         return (code_point > range.last) - (code_point < range.first); | ||||
|     } | ||||
| }; | ||||
| 
 | ||||
| struct BlockNameData { | ||||
|     CodePointRange code_point_range {}; | ||||
|     @string_index_type@ display_name { 0 }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn