1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:37:45 +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:
Luke Wilde 2022-01-03 20:26:38 +00:00 committed by Linus Groh
parent c97244d3a5
commit 4a14455dff
3 changed files with 29 additions and 16 deletions

View file

@ -24,7 +24,7 @@ struct ExecutionContext {
[[nodiscard]] ExecutionContext copy() const
{
ExecutionContext copy { arguments.copy() };
ExecutionContext copy { arguments };
copy.function = function;
copy.realm = realm;