flatbuffers: don't crash if there are flatbuffer errors

Some japanese user profiles are breaking the flatbuffer profile
builder for some reason

Changelog-Fixed: Fix pretty bad crash when building flatbuffer profiles
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-07-14 19:31:26 -07:00
parent 164cea96f3
commit 616f730ae5

View File

@@ -82,7 +82,7 @@ extern "C" {
* Note: some internal assertion will remain if disabled.
*/
#ifndef FLATCC_BUILDER_ASSERT_ON_ERROR
#define FLATCC_BUILDER_ASSERT_ON_ERROR 1
#define FLATCC_BUILDER_ASSERT_ON_ERROR 0
#endif
/*