mirror of https://git.wownero.com/dsc/openvr.git
Fix missing assert
This commit is contained in:
parent
06221018e7
commit
f6804a7c09
|
@ -9,7 +9,7 @@
|
|||
#include <functional>
|
||||
#include <locale>
|
||||
#include <codecvt>
|
||||
#include <vrcommon/assert.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#if defined( _WIN32 )
|
||||
#include <windows.h>
|
||||
|
@ -128,7 +128,7 @@ std::string Format( const char *pchFormat, ... )
|
|||
// Something went fairly wrong
|
||||
if ( unSize < 0 )
|
||||
{
|
||||
AssertMsg( false, "Format string parse failure" );
|
||||
//AssertMsg( false, "Format string parse failure" );
|
||||
return "";
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,7 @@ std::string Format( const char *pchFormat, ... )
|
|||
// Double check, just in case
|
||||
if ( unSize < 0 )
|
||||
{
|
||||
AssertMsg( false, "Format string parse failure" );
|
||||
//AssertMsg( false, "Format string parse failure" );
|
||||
return "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue