mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibWeb/CSS: Avoid capturing structured binding in generic lambda
Apple Clang doesn't like this, rather than waiting for their version of random-clang-commit-to-call-a-release to catch up with llvm trunk, just work around the issue. Fixes #186.
This commit is contained in:
parent
847243b706
commit
8c9d3b30cf
Notes:
sideshowbarker
2024-07-17 01:46:00 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/LadybirdBrowser/ladybird/commit/8c9d3b30cf Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/203
1 changed files with 2 additions and 2 deletions
|
@ -116,8 +116,8 @@ double EasingStyleValue::Function::evaluate_at(double input_progress, bool befor
|
|||
auto x = input_progress;
|
||||
|
||||
auto solve = [&](auto t) {
|
||||
auto x = cubic_bezier_at(x1, x2, t);
|
||||
auto y = cubic_bezier_at(y1, y2, t);
|
||||
auto x = cubic_bezier_at(bezier.x1, bezier.x2, t);
|
||||
auto y = cubic_bezier_at(bezier.y1, bezier.y2, t);
|
||||
return CubicBezier::CachedSample { x, y, t };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue