Skip to content

Commit cc22bc0

Browse files
StefanStojanovictargos
authored andcommitted
deps: patch V8 to fix Windows build
1 parent 8085ba3 commit cc22bc0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Reset this number to 0 on major V8 upgrades.
4040
# Increment by one for each non-official patch applied to deps/v8.
41-
'v8_embedder_string': '-node.10',
41+
'v8_embedder_string': '-node.11',
4242

4343
##### V8 defaults for Node.js #####
4444

deps/v8/src/objects/backing-store.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ std::unique_ptr<BackingStore> BackingStore::TryAllocateAndPartiallyCommitMemory(
310310
// For accounting purposes, whether a GC was necessary.
311311
bool did_retry = false;
312312

313-
auto gc_retry = [&](const std::function<bool()>& fn) {
313+
auto gc_retry = [&](const auto& fn) {
314314
if (fn()) return true;
315315
// Collect garbage and retry.
316316
did_retry = true;

0 commit comments

Comments
 (0)