mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	yw: fix unintensional recursion in hash_into
This commit is contained in:
		
							parent
							
								
									281e474d45
								
							
						
					
					
						commit
						a6bd8ff3e5
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -35,7 +35,10 @@ struct IdPath : public std::vector<RTLIL::IdString>
 | 
			
		|||
	bool has_address() const { int tmp; return get_address(tmp); };
 | 
			
		||||
	bool get_address(int &addr) const;
 | 
			
		||||
 | 
			
		||||
	Hasher hash_into(Hasher h) const { h.eat(*this); return h; }
 | 
			
		||||
	Hasher hash_into(Hasher h) const {
 | 
			
		||||
		h.eat(static_cast<const std::vector<RTLIL::IdString>&&>(*this));
 | 
			
		||||
		return h;
 | 
			
		||||
	}
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct WitnessHierarchyItem {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue