Skip to content

Commit 2dc0957

Browse files
author
Aidan Lee
committed
Use the wrapped callable when getting the callableId for comparisons
1 parent 18204ea commit 2dc0957

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

include/hx/Functions.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ namespace hx
157157
return wrapped.GetPtr();
158158
}
159159

160+
std::type_index callableId() const override
161+
{
162+
return wrapped->callableId();
163+
}
164+
160165
inline void __Mark(hx::MarkContext* __inCtx) override
161166
{
162167
HX_MARK_MEMBER(wrapped);
@@ -337,6 +342,11 @@ namespace hx
337342
return wrapped.GetPtr();
338343
}
339344

345+
std::type_index callableId() const override
346+
{
347+
return wrapped->callableId();
348+
}
349+
340350
inline void __Mark(hx::MarkContext* __inCtx) override
341351
{
342352
HX_MARK_MEMBER(wrapped);

0 commit comments

Comments
 (0)