summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/abseil-cpp-tstring/patches/fix-nvcc-nullable.patch
blob: cda6e8f6c0cc68e1046fc4d6ccecb16f7452bb0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/nullability_impl.h	(index)
+++ contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/nullability_impl.h	(working tree)
@@ -34,7 +34,7 @@ using NullableImpl
 // Don't add the _Nullable attribute in Objective-C compiles. Many Objective-C
 // projects enable the `-Wnullable-to-nonnull-conversion warning`, which is
 // liable to produce false positives.
-#if Y_ABSL_HAVE_FEATURE(nullability_on_classes) && !defined(__OBJC__)
+#if Y_ABSL_HAVE_FEATURE(nullability_on_classes) && !defined(__OBJC__) && !defined(__NVCC__)
     = T _Nullable;
 #else
     = T;