mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
11 lines
693 B
C
11 lines
693 B
C
--- base/functional/unretained_traits.h.orig 2025-02-22 18:06:53 UTC
|
|
+++ base/functional/unretained_traits.h
|
|
@@ -90,7 +90,7 @@ struct SupportsUnretainedImpl {
|
|
// official builds, and then in non-test code as well.
|
|
#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 "
|