From d985ebc417f80c59fe26200a9e1e677f54ccb9e9 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 12 May 2022 23:53:15 +0200 Subject: [PATCH] Fix assert due to typo --- src/callback_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callback_manager.cpp b/src/callback_manager.cpp index 5b5babc..192fe4b 100644 --- a/src/callback_manager.cpp +++ b/src/callback_manager.cpp @@ -46,7 +46,7 @@ namespace wren::detail { buff_used += signature.size() + 1; assert(m_full_name[m_module_range.start + m_module_range.length] == '\0'); - assert(m_full_name[m_class_range.start + m_module_range.length] == '\0'); + assert(m_full_name[m_class_range.start + m_class_range.length] == '\0'); assert(m_full_name[m_signature_range.start + m_signature_range.length] == '\0'); assert(this->module_name() == module_name); assert(this->class_name() == class_name);