Fix missing assert

master
dsc 3 years ago
parent 06221018e7
commit f6804a7c09

@ -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…
Cancel
Save