mirror of
				https://git.wownero.com/dsc/openvr.git
				synced 2024-08-15 01:03:30 +00:00 
			
		
		
		
	Fix missing assert
This commit is contained in:
		
							parent
							
								
									06221018e7
								
							
						
					
					
						commit
						f6804a7c09
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -9,7 +9,7 @@ | ||||||
| #include <functional> | #include <functional> | ||||||
| #include <locale> | #include <locale> | ||||||
| #include <codecvt> | #include <codecvt> | ||||||
| #include <vrcommon/assert.h> | #include <stdarg.h> | ||||||
| 
 | 
 | ||||||
| #if defined( _WIN32 ) | #if defined( _WIN32 ) | ||||||
| #include <windows.h> | #include <windows.h> | ||||||
|  | @ -128,7 +128,7 @@ std::string Format( const char *pchFormat, ... ) | ||||||
| 	// Something went fairly wrong
 | 	// Something went fairly wrong
 | ||||||
| 	if ( unSize < 0 ) | 	if ( unSize < 0 ) | ||||||
| 	{ | 	{ | ||||||
| 		AssertMsg( false, "Format string parse failure" ); | 		//AssertMsg( false, "Format string parse failure" );
 | ||||||
| 		return ""; | 		return ""; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | @ -149,7 +149,7 @@ std::string Format( const char *pchFormat, ... ) | ||||||
| 	// Double check, just in case
 | 	// Double check, just in case
 | ||||||
| 	if ( unSize < 0 ) | 	if ( unSize < 0 ) | ||||||
| 	{ | 	{ | ||||||
| 		AssertMsg( false, "Format string parse failure" ); | 		//AssertMsg( false, "Format string parse failure" );
 | ||||||
| 		return ""; | 		return ""; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue