From 7c7e2f7443c9bc1401e5c7b869f27e547e2a94c0 Mon Sep 17 00:00:00 2001 From: Carson Radtke Date: Tue, 18 Aug 2026 09:55:35 -0600 Subject: [PATCH] dyn_array: fix include tree 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 This fixes both issues so trivial examples of using gsl::dyn_array work. --- include/gsl/dyn_array | 1 + include/gsl/gsl | 1 + 2 files changed, 2 insertions(+) diff --git a/include/gsl/dyn_array b/include/gsl/dyn_array index 550cc26be..bb961609b 100644 --- a/include/gsl/dyn_array +++ b/include/gsl/dyn_array @@ -26,6 +26,7 @@ #include #include #include +#include #if defined(__cpp_lib_ranges) && (__cpp_lib_ranges >= 201911L) #include diff --git a/include/gsl/gsl b/include/gsl/gsl index 157ef6c1c..3321faaa3 100644 --- a/include/gsl/gsl +++ b/include/gsl/gsl @@ -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()...