mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-10 15:39:28 +00:00
Meta+Userland: Fix more instances of bad lambda-Variant interaction
These don't cause compilation to fail but they still crash crashd.
This commit is contained in:
committed by
Andrew Kaster
parent
d282066ba4
commit
b8c3e75573
@@ -706,7 +706,7 @@ ErrorOr<RefPtr<Job>> Shell::run_command(const AST::Command& command)
|
||||
|
||||
// Resolve redirections.
|
||||
Vector<NonnullRefPtr<AST::Rewiring>> rewirings;
|
||||
auto resolve_redirection = [&](auto& redirection) -> ErrorOr<void> {
|
||||
auto resolve_redirection = [&](NonnullRefPtr<AST::Redirection> const& redirection) -> ErrorOr<void> {
|
||||
auto rewiring = TRY(redirection->apply());
|
||||
|
||||
if (rewiring->fd_action != AST::Rewiring::Close::ImmediatelyCloseNew)
|
||||
|
||||
Reference in New Issue
Block a user