forked from rogchap/v8go
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround awaiting a fix for https://chromium-review.googlesource.com/c/v8/v8/+/5774729.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Submodule deps/v8 contains modified content | ||
diff --git a/deps/v8/include/v8-internal.h b/deps/v8/include/v8-internal.h | ||
index a13db2bd74a..77cbf8fc026 100644 | ||
--- a/deps/v8/include/v8-internal.h | ||
+++ b/deps/v8/include/v8-internal.h | ||
@@ -1430,7 +1430,7 @@ struct MaybeDefineIteratorConcept {}; | ||
template <typename Iterator> | ||
struct MaybeDefineIteratorConcept< | ||
Iterator, std::enable_if_t<kHaveIteratorConcept<Iterator>>> { | ||
- using iterator_concept = Iterator::iterator_concept; | ||
+ using iterator_concept = typename Iterator::iterator_concept; | ||
}; | ||
// Otherwise fall back to `std::iterator_traits<Iterator>` if possible. | ||
template <typename Iterator> | ||
@@ -1443,7 +1443,7 @@ struct MaybeDefineIteratorConcept< | ||
// TODO(pkasting): Add this unconditionally after dropping support for old | ||
// libstdc++ versions. | ||
#if __has_include(<ranges>) | ||
- using iterator_concept = std::iterator_traits<Iterator>::iterator_concept; | ||
+ using iterator_concept = typename std::iterator_traits<Iterator>::iterator_concept; | ||
#endif | ||
}; | ||
|