Fixed assert macros, and improved error handling.

This commit is contained in:
Бранимир Караџић
2021-10-25 18:59:11 -07:00
parent 11c3c5e615
commit 51c3264846
42 changed files with 226 additions and 154 deletions

View File

@@ -3,7 +3,6 @@
* License: https://github.com/bkaradzic/bx#license-bsd-2-clause
*/
#include "bx_p.h"
#include <bx/cpu.h>
#include <bx/math.h>
#include <bx/string.h>
@@ -1120,7 +1119,7 @@ namespace bx
bool fromString(int32_t* _out, const StringView& _str)
{
StringView str = bx::strLTrimSpace(_str);
StringView str = strLTrimSpace(_str);
const char* ptr = str.getPtr();
const char* term = str.getTerm();