mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Remove extraneous "public:".
This commit is contained in:
		
							parent
							
								
									e0042bdff7
								
							
						
					
					
						commit
						b9745f638b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -140,7 +140,6 @@ template <typename T, typename C = std::less<T>, typename OPS = hash_ops<T>> cla | ||||||
| 	std::vector<T> sorted; | 	std::vector<T> sorted; | ||||||
| 	std::set<std::set<T, C>> loops; | 	std::set<std::set<T, C>> loops; | ||||||
| 
 | 
 | ||||||
|       public: |  | ||||||
| 	TopoSort() : indirect_cmp(nodes) | 	TopoSort() : indirect_cmp(nodes) | ||||||
| 	{ | 	{ | ||||||
| 		analyze_loops = true; | 		analyze_loops = true; | ||||||
|  | @ -213,6 +212,7 @@ template <typename T, typename C = std::less<T>, typename OPS = hash_ops<T>> cla | ||||||
| 	bool found_loops; | 	bool found_loops; | ||||||
| 	std::vector<T> nodes; | 	std::vector<T> nodes; | ||||||
| 	const IndirectCmp indirect_cmp; | 	const IndirectCmp indirect_cmp; | ||||||
|  | 
 | ||||||
| 	void sort_worker(const int root_index, std::vector<bool> &marked_cells, std::vector<bool> &active_cells, std::vector<int> &active_stack) | 	void sort_worker(const int root_index, std::vector<bool> &marked_cells, std::vector<bool> &active_cells, std::vector<int> &active_stack) | ||||||
| 	{ | 	{ | ||||||
| 		if (active_cells[root_index]) { | 		if (active_cells[root_index]) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue