mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	Everywhere: Rename ASSERT => VERIFY
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
This commit is contained in:
		
							parent
							
								
									b33a6a443e
								
							
						
					
					
						commit
						5d180d1f99
					
				
					 725 changed files with 3448 additions and 3448 deletions
				
			
		|  | @ -44,7 +44,7 @@ int main(int argc, char** argv) | |||
|     auto server = Core::LocalServer::construct(); | ||||
| 
 | ||||
|     bool ok = server->take_over_from_system_server(); | ||||
|     ASSERT(ok); | ||||
|     VERIFY(ok); | ||||
|     server->on_ready_to_accept = [&] { | ||||
|         auto client_socket = server->accept(); | ||||
|         if (!client_socket) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling