mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:50:05 +00:00 
			
		
		
		
	Return static constant data by constant reference
This commit is contained in:
		
							parent
							
								
									a202e0e2a0
								
							
						
					
					
						commit
						c47a569645
					
				
					 6 changed files with 16 additions and 16 deletions
				
			
		|  | @ -61,11 +61,11 @@ public: | |||
| 
 | ||||
|    bool Parse(const std::string& s); | ||||
| 
 | ||||
|    static ProductType GetProductType(const std::string& code); | ||||
|    static std::string GetProductTypeCode(ProductType productType); | ||||
|    static ProductType        GetProductType(const std::string& code); | ||||
|    static const std::string& GetProductTypeCode(ProductType productType); | ||||
| 
 | ||||
|    static Action      GetAction(const std::string& code); | ||||
|    static std::string GetActionCode(Action action); | ||||
|    static Action             GetAction(const std::string& code); | ||||
|    static const std::string& GetActionCode(Action action); | ||||
| 
 | ||||
| private: | ||||
|    std::unique_ptr<PVtecImpl> p; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat