mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:42:44 +00:00 
			
		
		
		
	AK: Add HashMap::ensure_capacity
This commit is contained in:
		
							parent
							
								
									8bb635bd33
								
							
						
					
					
						commit
						a511f1ef85
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -135,6 +135,8 @@ public: | |||
| 
 | ||||
|     ErrorOr<void> try_ensure_capacity(size_t capacity) { return m_table.try_ensure_capacity(capacity); } | ||||
| 
 | ||||
|     void ensure_capacity(size_t capacity) { return m_table.ensure_capacity(capacity); } | ||||
| 
 | ||||
|     Optional<typename ValueTraits::ConstPeekType> get(K const& key) const | ||||
|     requires(!IsPointer<typename ValueTraits::PeekType>) | ||||
|     { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Matthew Olsson
						Matthew Olsson