Invoke function pointers w/ parenthesis (#576)

This commit is contained in:
Xavier 2022-07-28 15:03:22 +08:00 committed by GitHub
parent e88f32d565
commit 06eb494400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -370,7 +370,7 @@ namespace etl
} }
else else
{ {
return Method(param); return (Method)(param);
} }
} }
@ -758,7 +758,7 @@ namespace etl
} }
else else
{ {
return Method(); return (Method)();
} }
} }

View File

@ -335,7 +335,7 @@ namespace etl
} }
else else
{ {
return Method(etl::forward<TParams>(args)...); return (Method)(etl::forward<TParams>(args)...);
} }
} }