mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	AK+Userland: Remove nullability feature for the ByteBuffer type
Nobody seems to use this particular feature, in fact there were some bugs which were uncovered by removing operator bool.
This commit is contained in:
		
							parent
							
								
									c4d0b0cd6b
								
							
						
					
					
						commit
						53d0150827
					
				
					 16 changed files with 12 additions and 36 deletions
				
			
		|  | @ -431,7 +431,7 @@ public: | |||
|         if (type != CSS::Selector::SimpleSelector::Type::Universal) { | ||||
|             while (is_valid_selector_char(peek())) | ||||
|                 buffer.append(consume_one()); | ||||
|             PARSE_VERIFY(!buffer.is_null()); | ||||
|             PARSE_VERIFY(!buffer.is_empty()); | ||||
|         } | ||||
| 
 | ||||
|         auto value = String::copy(buffer); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gunnar Beutner
						Gunnar Beutner