mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-20 02:46:44 +08:00
Invoke function pointers w/ parenthesis (#576)
This commit is contained in:
parent
e88f32d565
commit
06eb494400
@ -370,7 +370,7 @@ namespace etl
|
||||
}
|
||||
else
|
||||
{
|
||||
return Method(param);
|
||||
return (Method)(param);
|
||||
}
|
||||
}
|
||||
|
||||
@ -758,7 +758,7 @@ namespace etl
|
||||
}
|
||||
else
|
||||
{
|
||||
return Method();
|
||||
return (Method)();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -335,7 +335,7 @@ namespace etl
|
||||
}
|
||||
else
|
||||
{
|
||||
return Method(etl::forward<TParams>(args)...);
|
||||
return (Method)(etl::forward<TParams>(args)...);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user