commit 616f730ae5cc83b0059203c0a6fa1df109b4ab4b
parent 164cea96f3a79b950c5dd1f86ade97d4acddd576
Author: William Casarin <jb55@jb55.com>
Date: Sun, 14 Jul 2024 19:31:26 -0700
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>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nostrdb/flatcc/flatcc_builder.h b/nostrdb/flatcc/flatcc_builder.h
@@ -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
/*