mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 13:53:38 +00:00
Include <array> head in stl_emulation.h (#7480)
* Add C++ standard builds for windows CI * Allow C++std to be specified in cmake * Include <array> in stl_emulation * Add linux std CI builds
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include <span>
|
||||
#elif defined(__cpp_lib_span) && defined(__has_include)
|
||||
#if __has_include(<span>)
|
||||
#include <array>
|
||||
#include <span>
|
||||
#define FLATBUFFERS_USE_STD_SPAN
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user