Dan Albert | 1d4a1ed | 2016-05-25 22:36:09 -0700 | [diff] [blame^] | 1 | #ifndef SUPPRESS_ARRAY_WARNINGS_H |
2 | #define SUPPRESS_ARRAY_WARNINGS_H | ||||
3 | |||||
4 | // std::array is explicitly allowed to be initialized with A a = { init-list };. | ||||
5 | // Disable the missing braces warning for this reason. | ||||
6 | #pragma GCC diagnostic ignored "-Wmissing-braces" | ||||
7 | |||||
8 | #endif // SUPPRESS_ARRAY_WARNINGS |