mirror of
https://github.com/microsoft/GSL
synced 2026-08-26 04:23:04 -04:00
dyn_array: fix include tree (#1261)
simple gsl::dyn_array examples were failing to compile for the following reasons: - gsl/gsl was not including dyn_array - dyn_array was not including <vector> This fixes both issues so trivial examples of using gsl::dyn_array work.
This commit is contained in:
parent
18c4ade750
commit
3cec6b0828
2 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
|||
#include <iterator>
|
||||
#include <memory>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#if defined(__cpp_lib_ranges) && (__cpp_lib_ranges >= 201911L)
|
||||
#include <ranges>
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#include "./algorithm" // copy
|
||||
#include "./assert" // Ensures/Expects
|
||||
#include "./byte" // byte
|
||||
#include "./dyn_array" // dyn_array
|
||||
#include "./pointers" // owner, not_null
|
||||
#include "./span" // span
|
||||
#include "./util" // finally()/narrow_cast()...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue