More size_t fixes
This commit is contained in:
		
							parent
							
								
									86b207e389
								
							
						
					
					
						commit
						a56d446664
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,7 @@ struct LinkBuffer
 | 
			
		|||
		return hash.contains(value);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	bool containsIdx(int idx)
 | 
			
		||||
	bool containsIdx(size_t idx)
 | 
			
		||||
	{
 | 
			
		||||
		if (vec.empty())
 | 
			
		||||
			return false;
 | 
			
		||||
| 
						 | 
				
			
			@ -132,7 +132,7 @@ struct LinkBuffer
 | 
			
		|||
		return idx;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	T lookup(int idx)
 | 
			
		||||
	T lookup(size_t idx)
 | 
			
		||||
	{	
 | 
			
		||||
		return vec[idx];
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue