Copy properties of log tracer
The log tracer needs to copy its parameters, otherwise weird things happen.
This commit is contained in:
		
							parent
							
								
									dc6efc5e65
								
							
						
					
					
						commit
						7e3cc3c3ed
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -69,8 +69,8 @@ struct Tracer
 | 
			
		|||
    ~Tracer();
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    const std::string& mName;
 | 
			
		||||
    const std::string& mFunction;
 | 
			
		||||
    const std::string mName;
 | 
			
		||||
    const std::string mFunction;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue