We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690576c commit e3eaeefCopy full SHA for e3eaeef
src/support/small_vector.h
@@ -53,14 +53,6 @@ template<typename T, size_t N> class SmallVector {
53
// flexible additional storage
54
std::vector<T> flexible;
55
56
-#if defined(__aarch64__)
57
-#pragma GCC diagnostic pop
58
-#endif
59
-
60
-#if defined(__riscv) && __riscv_xlen == 64
61
62
63
64
public:
65
using value_type = T;
66
@@ -286,6 +278,14 @@ struct ZeroInitSmallVector : public SmallVector<T, N> {
286
278
}
287
279
};
288
280
281
+#if defined(__aarch64__)
282
+#pragma GCC diagnostic pop
283
+#endif
284
+
285
+#if defined(__riscv) && __riscv_xlen == 64
289
} // namespace wasm
290
291
#endif // wasm_support_small_vector_h
0 commit comments