mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Revert "Fix string conversions in PlaceholderParser"
This reverts commit 570cc6e167.
Not an improvement
			
			
This commit is contained in:
		
							parent
							
								
									606789130e
								
							
						
					
					
						commit
						3a48f36268
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -270,9 +270,9 @@ namespace client
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            std::string out;
 | 
					            std::string out;
 | 
				
			||||||
            switch (type) {
 | 
					            switch (type) {
 | 
				
			||||||
            case TYPE_BOOL:   out = boost::lexical_cast<std::string>(data.b); break;
 | 
					            case TYPE_BOOL:   out = std::to_string(data.b); break;
 | 
				
			||||||
            case TYPE_INT:    out = boost::lexical_cast<std::string>(data.i); break;
 | 
					            case TYPE_INT:    out = std::to_string(data.i); break;
 | 
				
			||||||
            case TYPE_DOUBLE: out = boost::lexical_cast<std::string>(data.d); break;
 | 
					            case TYPE_DOUBLE: out = std::to_string(data.d); break;
 | 
				
			||||||
            case TYPE_STRING: out = *data.s; break;
 | 
					            case TYPE_STRING: out = *data.s; break;
 | 
				
			||||||
            default:          break;
 | 
					            default:          break;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue