mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[wpiutil] Avoid MSVC warning on span include (#3393)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include <optional>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
#if __has_include(<span>)
|
||||
#if __cplusplus >= 202002L && __has_include(<span>)
|
||||
#include <span>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/n4820.pdf
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
#if __has_include(<span>)
|
||||
#if __cplusplus >= 202002L && __has_include(<span>)
|
||||
#include <span>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user