mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	fix vs2022 deps
This commit is contained in:
		
							parent
							
								
									9253fed401
								
							
						
					
					
						commit
						40a17695c5
					
				
					 8 changed files with 31 additions and 34 deletions
				
			
		|  | @ -4,7 +4,6 @@ | |||
| #include <ClipperUtils.hpp> | ||||
| #include <boost/geometry/index/rtree.hpp> | ||||
| #include <tbb/parallel_for.h> | ||||
| #include <tbb/atomic.h> | ||||
| 
 | ||||
| #if defined(_MSC_VER) && defined(__clang__) | ||||
| #define BOOST_NO_CXX17_HDR_STRING_VIEW | ||||
|  |  | |||
|  | @ -3580,7 +3580,7 @@ const ExPolygons& TreeSupportData::calculate_avoidance(const RadiusLayerPair& ke | |||
|     const auto& radius = key.radius; | ||||
|     const auto& layer_nr = key.layer_nr; | ||||
|     BOOST_LOG_TRIVIAL(debug) << "calculate_avoidance on radius=" << radius << ", layer=" << layer_nr<<", recursion="<<key.recursions; | ||||
|     std::pair<tbb::concurrent_unordered_map<RadiusLayerPair, ExPolygons, RadiusLayerPairHash>::iterator,bool> ret; | ||||
|     std::pair<tbb::concurrent_unordered_map<RadiusLayerPair, ExPolygons, RadiusLayerPairHash, RadiusLayerPairEquality>::iterator,bool> ret; | ||||
|     constexpr auto max_recursion_depth = 100; | ||||
|     if (key.recursions <= max_recursion_depth*2) { | ||||
|         if (layer_nr == 0) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 SoftFever
						SoftFever