mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17: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>
|
||||
IteratorOrVoidFunction(CallableType&& callable) requires(VoidFunction<CallableType, Args...>)
|
||||
: Function<IterationDecision(Args...)>([callable = forward<CallableType>(callable)](Args... args) {
|
||||
callable(forward<Args>(args)...);
|
||||
callable(args...);
|
||||
return IterationDecision::Continue;
|
||||
})
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue