aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/CallSite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/CallSite.h')
-rw-r--r--src/bun.js/bindings/CallSite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/bindings/CallSite.h b/src/bun.js/bindings/CallSite.h
index 57b222880..efe1b39d8 100644
--- a/src/bun.js/bindings/CallSite.h
+++ b/src/bun.js/bindings/CallSite.h
@@ -60,9 +60,9 @@ public:
return WebCore::subspaceForImpl<CallSite, UseCustomHeapCellType::No>(
vm,
[](auto& spaces) { return spaces.m_clientSubspaceForCallSite.get(); },
- [](auto& spaces, auto&& space) { spaces.m_clientSubspaceForCallSite = WTFMove(space); },
+ [](auto& spaces, auto&& space) { spaces.m_clientSubspaceForCallSite = std::forward<decltype(space)>(space); },
[](auto& spaces) { return spaces.m_subspaceForCallSite.get(); },
- [](auto& spaces, auto&& space) { spaces.m_subspaceForCallSite = WTFMove(space); });
+ [](auto& spaces, auto&& space) { spaces.m_subspaceForCallSite = std::forward<decltype(space)>(space); });
}
JSC::JSValue thisValue() const { return m_thisValue.get(); }