From 3cec6b0828476e44b540dba306504a8d56522af9 Mon Sep 17 00:00:00 2001 From: Carson Radtke Date: Wed, 19 Aug 2026 17:27:28 -0600 Subject: [PATCH] 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 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 550cc26..bb96160 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 157ef6c..3321faa 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()...