summaryrefslogtreecommitdiff
path: root/upb/refcounted.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/refcounted.h')
-rw-r--r--upb/refcounted.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/upb/refcounted.h b/upb/refcounted.h
index 3de4a12..fe77077 100644
--- a/upb/refcounted.h
+++ b/upb/refcounted.h
@@ -28,9 +28,9 @@
//
// Enabling this requires the application to define upb_lock()/upb_unlock()
// functions that acquire/release a global mutex (or #define UPB_THREAD_UNSAFE).
-#ifndef NDEBUG
-#define UPB_DEBUG_REFS
-#endif
+// For this reason we don't enable it by default, even in debug builds.
+
+// #define UPB_DEBUG_REFS
#ifdef __cplusplus
namespace upb { class RefCounted; }
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback