summaryrefslogtreecommitdiff
path: root/upb/handlers.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/handlers.h')
-rw-r--r--upb/handlers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/handlers.h b/upb/handlers.h
index 8925d4f..54a3c1c 100644
--- a/upb/handlers.h
+++ b/upb/handlers.h
@@ -611,7 +611,7 @@ template <class T> class Handler {
void AddCleanup(Handlers* h) const {
if (cleanup_func_) {
bool ok = h->AddCleanup(cleanup_data_, cleanup_func_);
- UPB_ASSERT_VAR(ok, ok);
+ UPB_ASSERT(ok);
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback