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:
Carson Radtke 2026-08-19 17:27:28 -06:00 committed by GitHub
parent 18c4ade750
commit 3cec6b0828
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -26,6 +26,7 @@
#include <iterator>
#include <memory>
#include <type_traits>
#include <vector>
#if defined(__cpp_lib_ranges) && (__cpp_lib_ranges >= 201911L)
#include <ranges>

View file

@ -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()...