From 84b2ca13527dd66ed7358705af1337b95754ed4d Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Tue, 15 Oct 2024 03:15:46 +0700 Subject: [PATCH] Remove unused headers from gsl/pointers (#1153) * Remove unused headers from gsl/pointers forward is already declared in utility, no need to include algorithm which is relativaly heavy hash is already declared in memory, no need to bring brand-new header system_error for hash only * Fix: add missing header to gsl/pointers due to using less/greater --- include/gsl/pointers | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/gsl/pointers b/include/gsl/pointers index 611e364..63e193e 100644 --- a/include/gsl/pointers +++ b/include/gsl/pointers @@ -19,12 +19,11 @@ #include "assert" // for Ensures, Expects -#include // for forward #include // for ptrdiff_t, nullptr_t, size_t -#include // for shared_ptr, unique_ptr -#include // for hash +#include // for less, greater +#include // for shared_ptr, unique_ptr, hash #include // for enable_if_t, is_convertible, is_assignable -#include // for declval +#include // for declval, forward #if !defined(GSL_NO_IOSTREAMS) #include // for ostream