Changed arg to const ref
This commit is contained in:
		
							parent
							
								
									4f1cb82f46
								
							
						
					
					
						commit
						69317e51f6
					
				@ -3,7 +3,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "../DTO/packet.hpp"
 | 
					#include "../DTO/packet.hpp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void packetHandler(Packet packet){
 | 
					void packetHandler(const Packet &packet){
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user