blob: d00b1125aebbbc21e828b6b7e24a81fdee142321 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- base/functional/unretained_traits.h.orig 2025-02-20 09:59:21 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 "
|