Skip to content

Commit 9812cb4

Browse files
targosV8 LUCI CQ
authored andcommitted
[api] Remove template id from Local constructor
According to GCC version 14, this is deprecated in C++20. Change-Id: Iaab14c2db56b3787e391e4d50a9099015169d63f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5713754 Reviewed-by: Michael Lippautz <[email protected]> Auto-Submit: Michaël Zasso <[email protected]> Reviewed-by: Camillo Bruni <[email protected]> Commit-Queue: Camillo Bruni <[email protected]> Cr-Commit-Position: refs/heads/main@{#95084}
1 parent 53dfcd1 commit 9812cb4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/v8-local-handle.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,7 @@ class V8_TRIVIAL_ABI Local : public LocalBase<T>,
394394
explicit Local(const Local<T>& other, no_checking_tag do_not_check)
395395
: LocalBase<T>(other), StackAllocated(do_not_check) {}
396396

397-
V8_INLINE explicit Local<T>(const LocalBase<T>& other)
398-
: LocalBase<T>(other) {}
397+
V8_INLINE explicit Local(const LocalBase<T>& other) : LocalBase<T>(other) {}
399398

400399
V8_INLINE static Local<T> FromSlot(internal::Address* slot) {
401400
return Local<T>(LocalBase<T>::FromSlot(slot));

0 commit comments

Comments
 (0)