Skip to content

Commit 01a47f3

Browse files
targosV8 LUCI CQ
authored andcommitted
[cfi] Add missing 'typename' in SegmentedTable
Makes the code more consistent and fixes compilation on older Clang versions. Change-Id: I82abebd500e6651ac5c5b180cd7b49b4f20e8299 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5805956 Reviewed-by: Samuel Groß <[email protected]> Commit-Queue: Michaël Zasso <[email protected]> Reviewed-by: Stephen Röttger <[email protected]> Cr-Commit-Position: refs/heads/main@{#95809}
1 parent bd7ea01 commit 01a47f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/segmented-table-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void SegmentedTable<Entry, size>::TearDown() {
113113
}
114114

115115
template <typename Entry, size_t size>
116-
SegmentedTable<Entry, size>::FreelistHead
116+
typename SegmentedTable<Entry, size>::FreelistHead
117117
SegmentedTable<Entry, size>::InitializeFreeList(Segment segment,
118118
uint32_t start_offset) {
119119
DCHECK_LT(start_offset, kEntriesPerSegment);

0 commit comments

Comments
 (0)