Skip to content

Commit 399fae3

Browse files
ziyao233mid-kid
authored andcommitted
Remove ABSL_ATTRIBUTE_LIFETIME_BOUND from void functions
LLVM 20 errors on void functions whose parameters are applied [[lifetimebound]]. Link: llvm/llvm-project#113460
1 parent 62321fd commit 399fae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/candidate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class RTC_EXPORT Candidate {
105105
// cricket::LOCAL_PORT_TYPE). The type should really be an enum rather than a
106106
// string, but until we make that change the lifetime attribute helps us lock
107107
// things down. See also the `Port` class.
108-
void set_type(absl::string_view type ABSL_ATTRIBUTE_LIFETIME_BOUND) {
108+
void set_type(absl::string_view type) {
109109
Assign(type_, type);
110110
}
111111

0 commit comments

Comments
 (0)