Skip to content

Commit 8f5c643

Browse files
committed
clang/gcc template error fix.
1 parent 87ce185 commit 8f5c643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReflectionTemplateLib/rtl/detail/inc/MethodInvoker.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,11 @@ namespace rtl::detail
283283

284284
if (isReturnTvoid = ty_meta.is_void())
285285
{
286-
auto fn = lambda.operator() < dispatch::fn_void::yes > ();
286+
auto fn = lambda.template operator() < dispatch::fn_void::yes > ();
287287
pHopper.get_vhop().push_back(fn.get_hop());
288288
}
289289
else {
290-
auto fn = lambda.operator() < dispatch::fn_void::no > ();
290+
auto fn = lambda.template operator() < dispatch::fn_void::no > ();
291291
pHopper.get_rhop().push_back(fn.get_hop());
292292
}
293293

0 commit comments

Comments
 (0)