mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #10734 from ethereum/smt_fix_bfs_agaon
Fix BFS visit
This commit is contained in:
		
						commit
						e6d3fcbdc7
					
				| @ -106,10 +106,10 @@ struct BreadthFirstSearch | ||||
| 			V v = std::move(verticesToTraverse.front()); | ||||
| 			verticesToTraverse.pop_front(); | ||||
| 
 | ||||
| 			visited.insert(v); | ||||
| 			if (!visited.insert(v).second) | ||||
| 				continue; | ||||
| 
 | ||||
| 			_forEachChild(v, [this](V _vertex) { | ||||
| 				if (!visited.count(_vertex)) | ||||
| 				verticesToTraverse.emplace_back(std::move(_vertex)); | ||||
| 			}); | ||||
| 		} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user