diff options
author | 2023-02-11 05:54:43 -0800 | |
---|---|---|
committer | 2023-02-11 17:31:16 -0800 | |
commit | 5528c0fa47399a28e2caadf540f4b385c6bb3f4f (patch) | |
tree | cc1f4deff8bc38f4b1ee74e76e9e5c43cfdf33f2 /src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp | |
parent | c208c4e3197920ae4bf78463cc91014ede8dd951 (diff) | |
download | bun-5528c0fa47399a28e2caadf540f4b385c6bb3f4f.tar.gz bun-5528c0fa47399a28e2caadf540f4b385c6bb3f4f.tar.zst bun-5528c0fa47399a28e2caadf540f4b385c6bb3f4f.zip |
Backport std::forward change
Diffstat (limited to 'src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp')
-rw-r--r-- | src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp b/src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp index 884547adc..75ff72b00 100644 --- a/src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp +++ b/src/bun.js/bindings/webcore/JSReadableByteStreamController.cpp @@ -174,8 +174,8 @@ JSC::GCClient::IsoSubspace* JSReadableByteStreamController::subspaceForImpl(JSC: return WebCore::subspaceForImpl<JSReadableByteStreamController, UseCustomHeapCellType::No>( vm, [](auto& spaces) { return spaces.m_clientSubspaceForReadableByteStreamController.get(); }, - [](auto& spaces, auto&& space) { spaces.m_clientSubspaceForReadableByteStreamController = WTFMove(space); }, + [](auto& spaces, auto&& space) { spaces.m_clientSubspaceForReadableByteStreamController = std::forward<decltype(space)>(space); }, [](auto& spaces) { return spaces.m_subspaceForReadableByteStreamController.get(); }, - [](auto& spaces, auto&& space) { spaces.m_subspaceForReadableByteStreamController = WTFMove(space); }); + [](auto& spaces, auto&& space) { spaces.m_subspaceForReadableByteStreamController = std::forward<decltype(space)>(space); }); } } |