mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-16 19:13:01 +00:00
15 lines
477 B
Diff
15 lines
477 B
Diff
--- a/tg_owt/src/api/candidate.h
|
|
+++ b/tg_owt/src/api/candidate.h
|
|
@@ -105,7 +105,11 @@
|
|
// cricket::LOCAL_PORT_TYPE). The type should really be an enum rather than a
|
|
// string, but until we make that change the lifetime attribute helps us lock
|
|
// things down. See also the `Port` class.
|
|
+#ifdef __clang__
|
|
+ void set_type(absl::string_view type) {
|
|
+#else
|
|
void set_type(absl::string_view type ABSL_ATTRIBUTE_LIFETIME_BOUND) {
|
|
+#endif
|
|
Assign(type_, type);
|
|
}
|
|
|