summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Map.cpp')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Map.cpp b/Userland/Libraries/LibJS/Runtime/Map.cpp
index e65dde2e04..bc29064bf6 100644
--- a/Userland/Libraries/LibJS/Runtime/Map.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Map.cpp
@@ -10,7 +10,7 @@ namespace JS {
NonnullGCPtr<Map> Map::create(Realm& realm)
{
- return *realm.heap().allocate<Map>(realm, *realm.intrinsics().map_prototype());
+ return realm.heap().allocate<Map>(realm, *realm.intrinsics().map_prototype());
}
Map::Map(Object& prototype)