mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	assert: Allow UNREACHABLE_MSG to have just one argument
This commit is contained in:
		
							parent
							
								
									df81fa11fc
								
							
						
					
					
						commit
						ef6873980e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -39,7 +39,7 @@ static void assert_noinline_call(const Fn& fn) { | ||||||
|     }); } while (0) |     }); } while (0) | ||||||
| 
 | 
 | ||||||
| #define UNREACHABLE() ASSERT_MSG(false, "Unreachable code!") | #define UNREACHABLE() ASSERT_MSG(false, "Unreachable code!") | ||||||
| #define UNREACHABLE_MSG(_a_, ...) ASSERT_MSG(false, _a_, __VA_ARGS__) | #define UNREACHABLE_MSG(...) ASSERT_MSG(false, __VA_ARGS__) | ||||||
| 
 | 
 | ||||||
| #ifdef _DEBUG | #ifdef _DEBUG | ||||||
| #define DEBUG_ASSERT(_a_) ASSERT(_a_) | #define DEBUG_ASSERT(_a_) ASSERT(_a_) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue