File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ReflectionTemplateLib/rtl/dispatch Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ namespace rtl::dispatch
2323 void function_ptr<return_t , signature_t ...>::init_lambda_ctor()
2424 {
2525 m_lambda = ctor_t ();
26- ctor_t & fn = m_lambda.emplace <ctor_t >();
26+ ctor_t & fn = m_lambda.template emplace <ctor_t >();
2727
2828 fn.set_hop (aware_constructor<record_t , signature_t ...>::get_allocator ());
2929
@@ -36,7 +36,7 @@ namespace rtl::dispatch
3636 void rtl::dispatch::function_ptr<return_t , signature_t ...>::init_lambda()
3737 {
3838 m_lambda = func_t ();
39- func_t & fn = m_lambda.emplace <func_t >();
39+ func_t & fn = m_lambda.template emplace <func_t >();
4040
4141 if constexpr (fn_void_v == fn_void::yes) {
4242 fn.set_hop (aware_return<return_t , signature_t ...>::get_lambda_void ());
@@ -48,4 +48,4 @@ namespace rtl::dispatch
4848 functor::m_lambdas = std::vector<lambda*>(1 );
4949 functor::m_lambdas[index::erased_return] = (&fn);
5050 }
51- }
51+ }
You can’t perform that action at this time.
0 commit comments