mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	LibWeb: Fix a few const-ness issues
This commit is contained in:
		
							parent
							
								
									70a2ca7fc0
								
							
						
					
					
						commit
						c0b2fa74ac
					
				
					 36 changed files with 123 additions and 121 deletions
				
			
		|  | @ -24,6 +24,12 @@ public: | |||
|     // https://w3c.github.io/FileAPI/#dfn-length
 | ||||
|     unsigned long length() const { return m_files.size(); } | ||||
| 
 | ||||
|     // https://w3c.github.io/FileAPI/#dfn-item
 | ||||
|     File* item(size_t index) | ||||
|     { | ||||
|         return index < m_files.size() ? m_files[index].ptr() : nullptr; | ||||
|     } | ||||
| 
 | ||||
|     // https://w3c.github.io/FileAPI/#dfn-item
 | ||||
|     File const* item(size_t index) const | ||||
|     { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Matthew Olsson
						Matthew Olsson