mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
LibJS: Make MarkedValueList copyable and move assignable
This is required to store a MarkedValueList as the value of a HashMap.
This commit is contained in:
parent
c97244d3a5
commit
4a14455dff
Notes:
sideshowbarker
2024-07-17 21:38:00 +09:00
Author: https://github.com/Lubrsi
Commit: 4a14455dff
Pull-request: https://github.com/SerenityOS/serenity/pull/11412
Reviewed-by: https://github.com/linusg
3 changed files with 29 additions and 16 deletions
|
@ -24,7 +24,7 @@ struct ExecutionContext {
|
|||
|
||||
[[nodiscard]] ExecutionContext copy() const
|
||||
{
|
||||
ExecutionContext copy { arguments.copy() };
|
||||
ExecutionContext copy { arguments };
|
||||
|
||||
copy.function = function;
|
||||
copy.realm = realm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue