mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:22:43 +00:00 
			
		
		
		
	LibWeb: Mark body argument of extract_body() as const reference
This commit is contained in:
		
							parent
							
								
									1b9f5fa28a
								
							
						
					
					
						commit
						48b59aaeb1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -311,7 +311,7 @@ Optional<MimeSniff::MimeType> XMLHttpRequest::extract_mime_type(Fetch::HeaderLis | |||
| } | ||||
| 
 | ||||
| // https://fetch.spec.whatwg.org/#concept-bodyinit-extract
 | ||||
| static XMLHttpRequest::BodyWithType extract_body(XMLHttpRequestBodyInit& body) | ||||
| static XMLHttpRequest::BodyWithType extract_body(XMLHttpRequestBodyInit const& body) | ||||
| { | ||||
|     if (body.has<NonnullRefPtr<URL::URLSearchParams>>()) { | ||||
|         return { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kenneth Myhra
						Kenneth Myhra