Skip to content

Commit

Permalink
Applies the typename patch to the current build. #70
Browse files Browse the repository at this point in the history
This should make leakcheck pass.
  • Loading branch information
tommie committed Oct 23, 2024
1 parent e2cf722 commit 066f692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/include/v8-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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
};

Expand Down

0 comments on commit 066f692

Please sign in to comment.