mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
Backport std::forward change
This commit is contained in:
@@ -332,9 +332,9 @@ JSC::GCClient::IsoSubspace* JSStringDecoder::subspaceForImpl(JSC::VM& vm)
|
||||
return WebCore::subspaceForImpl<JSStringDecoder, UseCustomHeapCellType::No>(
|
||||
vm,
|
||||
[](auto& spaces) { return spaces.m_clientSubspaceForStringDecoder.get(); },
|
||||
[](auto& spaces, auto&& space) { spaces.m_clientSubspaceForStringDecoder = WTFMove(space); },
|
||||
[](auto& spaces, auto&& space) { spaces.m_clientSubspaceForStringDecoder = std::forward<decltype(space)>(space); },
|
||||
[](auto& spaces) { return spaces.m_subspaceForStringDecoder.get(); },
|
||||
[](auto& spaces, auto&& space) { spaces.m_subspaceForStringDecoder = WTFMove(space); });
|
||||
[](auto& spaces, auto&& space) { spaces.m_subspaceForStringDecoder = std::forward<decltype(space)>(space); });
|
||||
}
|
||||
|
||||
STATIC_ASSERT_ISO_SUBSPACE_SHARABLE(JSStringDecoderPrototype, JSStringDecoderPrototype::Base);
|
||||
|
||||
Reference in New Issue
Block a user