mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	hashlib: fix hash_obj_ops discarding hash value
This commit is contained in:
		
							parent
							
								
									6225abec71
								
							
						
					
					
						commit
						a2805b15c9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -265,7 +265,7 @@ struct hash_obj_ops {
 | 
			
		|||
	template<typename T>
 | 
			
		||||
	static inline Hasher hash_into(const T *a, Hasher h) {
 | 
			
		||||
		if (a)
 | 
			
		||||
			a->hash_into(h);
 | 
			
		||||
			h = a->hash_into(h);
 | 
			
		||||
		else
 | 
			
		||||
			h.eat(0);
 | 
			
		||||
		return h;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue