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);