Commit c25b6922 authored by Dominik Charousset's avatar Dominik Charousset

Fix type_info check across .so boundaries

parent b7c55f36
......@@ -87,7 +87,7 @@ bool type_erased_tuple::matches(size_t pos, uint16_t nr,
if (tp.first != nr)
return false;
if (nr == 0)
return ptr != nullptr ? *tp.second == *ptr : false;
return ptr != nullptr ? strcmp(tp.second->name(), ptr->name()) == 0 : false;
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment