From f6804a7c09c0641ef414185a58b91a606889e36e Mon Sep 17 00:00:00 2001 From: dsc Date: Sat, 27 Mar 2021 22:23:24 +0100 Subject: [PATCH] Fix missing assert --- src/vrcommon/strtools_public.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vrcommon/strtools_public.cpp b/src/vrcommon/strtools_public.cpp index fbe54a7..d4757d8 100644 --- a/src/vrcommon/strtools_public.cpp +++ b/src/vrcommon/strtools_public.cpp @@ -9,7 +9,7 @@ #include #include #include -#include +#include #if defined( _WIN32 ) #include @@ -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 ""; }