mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:47:45 +00:00
LibJS: Fix improper usages of forward as flagged by SonarCloud
This commit is contained in:
parent
ac808a261f
commit
04454efa72
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public:
|
||||||
template<typename CallableType>
|
template<typename CallableType>
|
||||||
IteratorOrVoidFunction(CallableType&& callable) requires(VoidFunction<CallableType, Args...>)
|
IteratorOrVoidFunction(CallableType&& callable) requires(VoidFunction<CallableType, Args...>)
|
||||||
: Function<IterationDecision(Args...)>([callable = forward<CallableType>(callable)](Args... args) {
|
: Function<IterationDecision(Args...)>([callable = forward<CallableType>(callable)](Args... args) {
|
||||||
callable(forward<Args>(args)...);
|
callable(args...);
|
||||||
return IterationDecision::Continue;
|
return IterationDecision::Continue;
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue