aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/sparsehash/patches/unused-typedef.patch
blob: 8361ae9d1513034ea36d6285c90674ddd4fa3f49 (plain) (blame)
1
2
3
4
5
--- a/src/sparsehash/internal/hashtable-common.h
+++ b/src/sparsehash/internal/hashtable-common.h
@@ -51,1 +51,1 @@ _START_GOOGLE_NAMESPACE_
-  __attribute__((unused)) typedef SparsehashCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
+  [[maybe_unused]] typedef SparsehashCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]