gentoo-overlay/media-libs/tg_owt/files/tg_owt-patch-absl.patch
2025-11-02 02:54:21 +08:00

24 lines
501 B
Diff

--- a/src/api/scoped_refptr.h 2025-05-15 18:16:02.000000000 +0800
+++ b/src/api/scoped_refptr.h 2025-11-02 02:44:14.976765731 +0800
@@ -66,6 +66,20 @@
#include <memory>
#include <utility>
+#include "absl/base/nullability.h"
+
+namespace absl {
+#ifdef absl_nonnull
+template<typename T>
+using Nonnull = T absl_nonnull;
+#endif // absl_nonnull
+
+#ifdef absl_nullable
+template<typename T>
+using Nullable = T absl_nullable;
+#endif // absl_nullable
+}
+
namespace webrtc {
template <class T>