From: Jonathan Wakely Date: Thu, 15 Sep 2022 17:21:32 +0000 (+0100) Subject: libstdc++: Remove unnecessary header from X-Git-Tag: release-12.2.mpacbti-rel1~256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37a7b2e8a73a4ce19e25fd067fbe311547e112a1;p=thirdparty%2Fgcc.git libstdc++: Remove unnecessary header from Previously included so that std::copy, std::fill etc. could be used by . But that includes it explicitly now, so that it can be compiled as a header unit. There's no need to include it in , where its purpose isn't obvious. libstdc++-v3/ChangeLog: * include/std/memory: Do not include . (cherry picked from commit d6ccad7641da10d9c5f1f6cfc676d5f5b9d2d126) --- diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory index 481fa42a6188..20a55020a36f 100644 --- a/libstdc++-v3/include/std/memory +++ b/libstdc++-v3/include/std/memory @@ -60,7 +60,6 @@ * Smart pointers, etc. */ -#include #include #include #include