ports/www/ungoogled-chromium/patches/patch-base_functional_unretained_traits_h

13 lines
712 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: base/functional/unretained_traits.h
--- base/functional/unretained_traits.h.orig
+++ base/functional/unretained_traits.h
2024-05-20 13:42:05 +00:00
@@ -93,7 +93,7 @@ struct SupportsUnretainedImpl {
2023-08-16 22:26:55 +00:00
// official builds, and then in non-test code as well.
2024-05-20 13:42:05 +00:00
#if defined(FORCE_UNRETAINED_COMPLETENESS_CHECKS_FOR_TESTS) || \
(!defined(UNIT_TEST) && !defined(OFFICIAL_BUILD) && \
- (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)))
+ (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)))
static_assert(v,
"Argument requires unretained storage, but type is not "
"fully defined. This prevents determining whether "