mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Replaced "Simple shorthands for smart pointers" shptr, uqptr, wkptr
with their original names. Using weird shorthands makes the code unreadable for anyone but the original author. template<class T> using shptr = std::shared_ptr<T>; template<class T> using uqptr = std::unique_ptr<T>; template<class T> using wkptr = std::weak_ptr<T>;
This commit is contained in:
		
							parent
							
								
									b028e169c8
								
							
						
					
					
						commit
						e185bf58b7
					
				
					 8 changed files with 38 additions and 47 deletions
				
			
		|  | @ -13,10 +13,6 @@ | |||
| 
 | ||||
| namespace Slic3r { | ||||
| 
 | ||||
| template<class T> using uqptr = std::unique_ptr<T>; | ||||
| template<class T> using shptr = std::shared_ptr<T>; | ||||
| template<class T> using wkptr = std::weak_ptr<T>; | ||||
| 
 | ||||
| namespace sla { | ||||
| 
 | ||||
| // Raw byte buffer paired with its size. Suitable for compressed image data.
 | ||||
|  | @ -112,7 +108,7 @@ struct PPMRasterEncoder { | |||
| std::ostream& operator<<(std::ostream &stream, const EncodedRaster &bytes); | ||||
| 
 | ||||
| // If gamma is zero, thresholding will be performed which disables AA.
 | ||||
| uqptr<RasterBase> create_raster_grayscale_aa( | ||||
| std::unique_ptr<RasterBase> create_raster_grayscale_aa( | ||||
|     const RasterBase::Resolution &res, | ||||
|     const RasterBase::PixelDim &  pxdim, | ||||
|     double                        gamma = 1.0, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik