mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	Libraries: Use default constructors/destructors in LibWebSocket
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
This commit is contained in:
		
							parent
							
								
									8b334248e4
								
							
						
					
					
						commit
						1a59cffb00
					
				
					 4 changed files with 6 additions and 10 deletions
				
			
		|  | @ -1,5 +1,6 @@ | |||
| /*
 | ||||
|  * Copyright (c) 2021, Dex♪ <dexes.ttp@gmail.com> | ||||
|  * Copyright (c) 2022, the SerenityOS developers. | ||||
|  * | ||||
|  * SPDX-License-Identifier: BSD-2-Clause | ||||
|  */ | ||||
|  | @ -25,10 +26,6 @@ WebSocket::WebSocket(ConnectionInfo connection) | |||
| { | ||||
| } | ||||
| 
 | ||||
| WebSocket::~WebSocket() | ||||
| { | ||||
| } | ||||
| 
 | ||||
| void WebSocket::start() | ||||
| { | ||||
|     VERIFY(m_state == WebSocket::InternalState::NotStarted); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lenny Maiorani
						Lenny Maiorani