mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Revert "kernel: IdString:in() to use perfect forwarding"
This reverts commit 7b2a85aedf24affc2e1202c78e70e6a317f5bf29.
This commit is contained in:
		
							parent
							
								
									dde3dfd72e
								
							
						
					
					
						commit
						ba13a40ef4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -362,8 +362,8 @@ namespace RTLIL | |||
| 		// of cell types). the following functions helps with that.
 | ||||
| 
 | ||||
| 		template<typename T, typename... Args> | ||||
| 		bool in(T first, Args&&... rest) const { | ||||
| 			return in(first) || in(std::forward<Args>(rest)...); | ||||
| 		bool in(T first, Args... rest) const { | ||||
| 			return in(first) || in(rest...); | ||||
| 		} | ||||
| 
 | ||||
| 		bool in(IdString rhs) const { return *this == rhs; } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue