1
0
mirror of https://github.com/microsoft/GSL.git synced 2025-03-25 22:38:30 -04:00

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
This commit is contained in:
Konstantin Akimov 2024-05-30 18:10:37 +07:00
parent b39e7e4b09
commit ead902ba0b
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

@ -19,12 +19,10 @@
#include "assert" // for Ensures, Expects
#include <algorithm> // for forward
#include <cstddef> // for ptrdiff_t, nullptr_t, size_t
#include <memory> // for shared_ptr, unique_ptr
#include <system_error> // for hash
#include <memory> // for shared_ptr, unique_ptr, hash
#include <type_traits> // for enable_if_t, is_convertible, is_assignable
#include <utility> // for declval
#include <utility> // for declval, forward
#if !defined(GSL_NO_IOSTREAMS)
#include <iosfwd> // for ostream